From ab22e4f7068e1aee210e1798796b138ac7dcaee4 Mon Sep 17 00:00:00 2001 From: huangyw <1207046171@qq.com> Date: Fri, 16 Aug 2024 09:06:08 +0800 Subject: [PATCH] =?UTF-8?q?release:=203.12.=E6=8A=BD=E5=A5=96=E8=AF=A6?= =?UTF-8?q?=E6=83=85(PC)=20=E4=BC=98=E5=8C=96detail=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/luoo/user/controller/PointController.java | 13 +++++++++---- 1 file changed, 9 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 168bd7a..ad392dd 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 @@ -392,12 +392,17 @@ public class PointController { @ApiOperation(value = "3.13.抽奖用户列表(PC)", notes = "PC") @GetMapping("/lottery/user/{page}/{size}") @GlobalInterceptor(checkAdminLogin = true) + @ApiImplicitParams({ + @ApiImplicitParam(name = "Authorization", value = "token", required = true, dataType = "String", paramType = "header"), + @ApiImplicitParam(name = "lotteryId", value = "抽奖id", required = true, dataType = "String", paramType = "query"), + @ApiImplicitParam(name = "userType", value = "用户类型,中奖:1,全部:null", required = true, dataType = "Integer", paramType = "query") + }) public Result> findLotteryUserList( - @ApiParam(value = "Header中的token信息", required = true) @RequestHeader("Authorization") String token, - @ApiParam(value = "抽奖id") String lotteryId, + @RequestHeader("Authorization") String token, + String lotteryId, + Integer userType, @ApiParam(value = "页码", required = true) @PathVariable Integer page, - @ApiParam(value = "每页条数", required = true) @PathVariable Integer size, - @ApiParam(value = "用户类型,中奖:1,全部:null") Integer userType) { + @ApiParam(value = "每页条数", required = true) @PathVariable Integer size) { return Result.success(lotteryService.getLotteryUserList(page, size, lotteryId, userType)); }