|
|
|
@ -229,8 +229,9 @@ public class PointController {
|
|
|
|
|
return Result.success();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@ApiOperation(value = "3.2.抽奖列表页(PC/APP)", notes = "admin/app")
|
|
|
|
|
@ApiOperation(value = "3.2.抽奖列表页(PC)", notes = "admin")
|
|
|
|
|
@PostMapping("/lottery/list/{page}/{size}")
|
|
|
|
|
@GlobalInterceptor(checkAdminLogin = true)
|
|
|
|
|
public Result<PageResult<Lottery>> lotteryList(
|
|
|
|
|
@ApiParam(value = "Header中的token信息", required = true) @RequestHeader("Authorization") String token,
|
|
|
|
|
@ApiParam(value = "查询对象") @RequestBody LotterySearchDto lotterySearchDto,
|
|
|
|
@ -318,4 +319,16 @@ public class PointController {
|
|
|
|
|
return Result.success();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@ApiOperation(value = "3.9.抽奖列表页,以及本人是否已参加(APP)", notes = "APP")
|
|
|
|
|
@PostMapping("/lottery/list/{page}/{size}")
|
|
|
|
|
@GlobalInterceptor(checkAppUserLogin = true)
|
|
|
|
|
public Result<PageResult<Lottery>> findLotteryListForApp(
|
|
|
|
|
@ApiParam(value = "Header中的token信息", required = true) @RequestHeader("Authorization") String token,
|
|
|
|
|
@ApiParam(value = "查询对象") @RequestBody LotterySearchDto lotterySearchDto,
|
|
|
|
|
@ApiParam(value = "页码", required = true) @PathVariable Integer page,
|
|
|
|
|
@ApiParam(value = "每页条数", required = true) @PathVariable Integer size) {
|
|
|
|
|
return Result.success(lotteryService.findLotteryListForApp(page, size, lotterySearchDto, token));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|