Subversion Repositories SmartDukaan

Rev

Rev 22605 | Rev 22931 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 22605 Rev 22609
Line 12... Line 12...
12
import org.springframework.web.bind.annotation.RequestMapping;
12
import org.springframework.web.bind.annotation.RequestMapping;
13
import org.springframework.web.bind.annotation.RequestMethod;
13
import org.springframework.web.bind.annotation.RequestMethod;
14
 
14
 
15
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
15
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
16
import com.spice.profitmandi.common.model.ProfitMandiConstants;
16
import com.spice.profitmandi.common.model.ProfitMandiConstants;
17
import com.spice.profitmandi.dao.repository.dtr.UserAccountRepository;
17
import com.spice.profitmandi.common.web.util.ResponseSender;
18
import com.spice.profitmandi.dao.repository.transaction.UserWalletHistoryRepository;
-
 
19
import com.spice.profitmandi.dao.repository.transaction.UserWalletRepository;
18
import com.spice.profitmandi.dao.repository.transaction.UserWalletRepository;
20
import com.spice.profitmandi.service.wallet.WalletService;
19
import com.spice.profitmandi.service.wallet.WalletService;
21
 
20
 
22
import io.swagger.annotations.ApiImplicitParam;
21
import io.swagger.annotations.ApiImplicitParam;
23
import io.swagger.annotations.ApiImplicitParams;
22
import io.swagger.annotations.ApiImplicitParams;
Line 33... Line 32...
33
	UserWalletRepository userWalletRepository;
32
	UserWalletRepository userWalletRepository;
34
	
33
	
35
	@Autowired
34
	@Autowired
36
	WalletService walletService;
35
	WalletService walletService;
37
	
36
	
-
 
37
	@Autowired
-
 
38
	ResponseSender<?> responseSender;
-
 
39
	
38
	@RequestMapping(value = ProfitMandiConstants.URL_MY_WALLET, method=RequestMethod.GET,produces = MediaType.APPLICATION_JSON_VALUE)
40
	@RequestMapping(value = ProfitMandiConstants.URL_MY_WALLET, method=RequestMethod.GET,produces = MediaType.APPLICATION_JSON_VALUE)
39
	@ApiImplicitParams({
41
	@ApiImplicitParams({
40
		@ApiImplicitParam(name = "Auth-Token", value = "Auth-Token", 
42
		@ApiImplicitParam(name = "Auth-Token", value = "Auth-Token", 
41
				required = true, dataType = "string", paramType = "header")
43
				required = true, dataType = "string", paramType = "header")
42
	})
44
	})