|
@@ -36,7 +36,7 @@ public class UserdayPrizeLogController { |
|
@@ -36,7 +36,7 @@ public class UserdayPrizeLogController { |
36
|
@RequestMapping("/addPrizeLog")
|
36
|
@RequestMapping("/addPrizeLog")
|
37
|
@ResponseBody
|
37
|
@ResponseBody
|
38
|
public ApiResponse addPrizeLog(int uid, int prize_type) throws Exception {
|
38
|
public ApiResponse addPrizeLog(int uid, int prize_type) throws Exception {
|
39
|
- log.debug("enter addPrizeLog. param uid={}, prize_type={}", uid, prize_type);
|
39
|
+ log.info("enter addPrizeLog. param uid={}, prize_type={}", uid, prize_type);
|
40
|
int result = userdayPrizeLogService.addPrizeLog(uid, prize_type);
|
40
|
int result = userdayPrizeLogService.addPrizeLog(uid, prize_type);
|
41
|
return new ApiResponse(result);
|
41
|
return new ApiResponse(result);
|
42
|
}
|
42
|
}
|
|
@@ -51,7 +51,7 @@ public class UserdayPrizeLogController { |
|
@@ -51,7 +51,7 @@ public class UserdayPrizeLogController { |
51
|
@RequestMapping("/existsPrizeLog")
|
51
|
@RequestMapping("/existsPrizeLog")
|
52
|
@ResponseBody
|
52
|
@ResponseBody
|
53
|
public ApiResponse existsPrizeLog(int uid, int prize_type) throws Exception {
|
53
|
public ApiResponse existsPrizeLog(int uid, int prize_type) throws Exception {
|
54
|
- log.debug("enter existsPrizeLog. param uid={}, prize_type={}", uid, prize_type);
|
54
|
+ log.info("enter existsPrizeLog. param uid={}, prize_type={}", uid, prize_type);
|
55
|
boolean result = userdayPrizeLogService.existsPrizeLog(uid, prize_type);
|
55
|
boolean result = userdayPrizeLogService.existsPrizeLog(uid, prize_type);
|
56
|
return new ApiResponse(result);
|
56
|
return new ApiResponse(result);
|
57
|
}
|
57
|
}
|
|
@@ -66,7 +66,7 @@ public class UserdayPrizeLogController { |
|
@@ -66,7 +66,7 @@ public class UserdayPrizeLogController { |
66
|
@RequestMapping("/queryPrizeLog")
|
66
|
@RequestMapping("/queryPrizeLog")
|
67
|
@ResponseBody
|
67
|
@ResponseBody
|
68
|
public ApiResponse queryPrizeLog(int uid, int prize_type) throws Exception {
|
68
|
public ApiResponse queryPrizeLog(int uid, int prize_type) throws Exception {
|
69
|
- log.debug("enter queryPrizeLog. param uid={}, prize_type={}", uid, prize_type);
|
69
|
+ log.info("enter queryPrizeLog. param uid={}, prize_type={}", uid, prize_type);
|
70
|
List<UserdayPrizeLogResponseBO> list = userdayPrizeLogService.queryPrizeLog(uid, prize_type);
|
70
|
List<UserdayPrizeLogResponseBO> list = userdayPrizeLogService.queryPrizeLog(uid, prize_type);
|
71
|
if (CollectionUtils.isEmpty(list)) {
|
71
|
if (CollectionUtils.isEmpty(list)) {
|
72
|
log.warn("queryPrizeLog error. result is empty");
|
72
|
log.warn("queryPrizeLog error. result is empty");
|
|
@@ -83,7 +83,7 @@ public class UserdayPrizeLogController { |
|
@@ -83,7 +83,7 @@ public class UserdayPrizeLogController { |
83
|
@RequestMapping("/queryPrizeLogNum")
|
83
|
@RequestMapping("/queryPrizeLogNum")
|
84
|
@ResponseBody
|
84
|
@ResponseBody
|
85
|
public ApiResponse queryPrizeLogNum(int prize_type) throws Exception {
|
85
|
public ApiResponse queryPrizeLogNum(int prize_type) throws Exception {
|
86
|
- log.debug("enter queryPrizeLogNum. param prize_type={}", prize_type);
|
86
|
+ log.info("enter queryPrizeLogNum. param prize_type={}", prize_type);
|
87
|
int num = userdayPrizeLogService.queryPrizeLogNum(prize_type);
|
87
|
int num = userdayPrizeLogService.queryPrizeLogNum(prize_type);
|
88
|
return new ApiResponse(num);
|
88
|
return new ApiResponse(num);
|
89
|
}
|
89
|
}
|