From 2ffef0516fa5fb9e0346da4c27e8e77fa41b71fc Mon Sep 17 00:00:00 2001 From: huangyw <1207046171@qq.com> Date: Thu, 8 Aug 2024 10:52:33 +0800 Subject: [PATCH] =?UTF-8?q?release:=20=E7=94=A8=E6=88=B7=E7=A7=AF=E5=88=86?= =?UTF-8?q?=E6=97=A5=E5=BF=97=E5=88=97=E8=A1=A8=20=E6=8B=86=E5=88=86APP?= =?UTF-8?q?=E5=92=8CPC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../luoo/user/controller/PointController.java | 20 +++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) 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)