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)); }