release: 3.12.抽奖详情(PC) 优化detail参数

release-2024-04-25
huangyw 3 months ago
parent 96bcea1979
commit ab22e4f706

@ -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<PageResult<LotteryUserDetailPCVO>> 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));
}

Loading…
Cancel
Save