diff --git a/luoo_user/src/main/java/com/luoo/user/controller/PointController.java b/luoo_user/src/main/java/com/luoo/user/controller/PointController.java index eda7cc4..6c319c5 100644 --- a/luoo_user/src/main/java/com/luoo/user/controller/PointController.java +++ b/luoo_user/src/main/java/com/luoo/user/controller/PointController.java @@ -190,10 +190,10 @@ public class PointController { // return Result.success(); // } - @ApiOperation(value = "2.3.用户积分日志列表(APP&PC)", notes = "用户积分日志列表") - @PostMapping("/log/list/{page}/{size}") - @GlobalInterceptor(checkAppUserLogin = true) - public Result> getUserPointLogList( + @ApiOperation(value = "2.2.用户积分日志列表APP", notes = "用户积分日志列表") + @PostMapping("/admin/log/list/{page}/{size}") + @GlobalInterceptor(checkAdminLogin = true) + public Result> getUserPointLogListForAdmin( @ApiParam(value = "Header中的token信息", required = true) @RequestHeader("Authorization") String token, @ApiParam(value = "查询对象") @RequestBody UserPointLogSearchDto userPointLogSearchDto, @ApiParam(value = "页码", required = true) @PathVariable Integer page, @@ -202,6 +202,18 @@ public class PointController { userPointLogService.getUserPointLogList(token, userPointLogSearchDto, page, size)); } + @ApiOperation(value = "2.3.用户积分日志列表PC", notes = "用户积分日志列表") + @PostMapping("/app/log/list/{page}/{size}") + @GlobalInterceptor(checkAppUserLogin = true) + public Result> getUserPointLogListForApp( + @ApiParam(value = "Header中的token信息", required = true) @RequestHeader("Authorization") String token, + @ApiParam(value = "查询对象") @RequestBody UserPointLogSearchDto userPointLogSearchDto, + @ApiParam(value = "页码", required = true) @PathVariable Integer page, + @ApiParam(value = "每页条数", required = true) @PathVariable Integer size) { + return Result.success( + userPointLogService.getUserPointLogList(token, userPointLogSearchDto, page, size)); + } + @ApiOperation(value = "2.4.每日签到(APP)", notes = "仅限app用户调用") @PostMapping("/log/earn/sign") @GlobalInterceptor(checkAppUserLogin = true)