...
|
...
|
@@ -36,7 +36,7 @@ public class UserdayPrizeLogController { |
|
|
@RequestMapping("/addPrizeLog")
|
|
|
@ResponseBody
|
|
|
public ApiResponse addPrizeLog(int uid, int prize_type) throws Exception {
|
|
|
log.debug("enter addPrizeLog. param uid={}, prize_type={}", uid, prize_type);
|
|
|
log.info("enter addPrizeLog. param uid={}, prize_type={}", uid, prize_type);
|
|
|
int result = userdayPrizeLogService.addPrizeLog(uid, prize_type);
|
|
|
return new ApiResponse(result);
|
|
|
}
|
...
|
...
|
@@ -51,7 +51,7 @@ public class UserdayPrizeLogController { |
|
|
@RequestMapping("/existsPrizeLog")
|
|
|
@ResponseBody
|
|
|
public ApiResponse existsPrizeLog(int uid, int prize_type) throws Exception {
|
|
|
log.debug("enter existsPrizeLog. param uid={}, prize_type={}", uid, prize_type);
|
|
|
log.info("enter existsPrizeLog. param uid={}, prize_type={}", uid, prize_type);
|
|
|
boolean result = userdayPrizeLogService.existsPrizeLog(uid, prize_type);
|
|
|
return new ApiResponse(result);
|
|
|
}
|
...
|
...
|
@@ -66,7 +66,7 @@ public class UserdayPrizeLogController { |
|
|
@RequestMapping("/queryPrizeLog")
|
|
|
@ResponseBody
|
|
|
public ApiResponse queryPrizeLog(int uid, int prize_type) throws Exception {
|
|
|
log.debug("enter queryPrizeLog. param uid={}, prize_type={}", uid, prize_type);
|
|
|
log.info("enter queryPrizeLog. param uid={}, prize_type={}", uid, prize_type);
|
|
|
List<UserdayPrizeLogResponseBO> list = userdayPrizeLogService.queryPrizeLog(uid, prize_type);
|
|
|
if (CollectionUtils.isEmpty(list)) {
|
|
|
log.warn("queryPrizeLog error. result is empty");
|
...
|
...
|
@@ -83,7 +83,7 @@ public class UserdayPrizeLogController { |
|
|
@RequestMapping("/queryPrizeLogNum")
|
|
|
@ResponseBody
|
|
|
public ApiResponse queryPrizeLogNum(int prize_type) throws Exception {
|
|
|
log.debug("enter queryPrizeLogNum. param prize_type={}", prize_type);
|
|
|
log.info("enter queryPrizeLogNum. param prize_type={}", prize_type);
|
|
|
int num = userdayPrizeLogService.queryPrizeLogNum(prize_type);
|
|
|
return new ApiResponse(num);
|
|
|
}
|
...
|
...
|
|