|
|
|
@ -190,10 +190,22 @@ public class PointController {
|
|
|
|
|
// return Result.success();
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
@ApiOperation(value = "2.3.用户积分日志列表(APP&PC)", notes = "用户积分日志列表")
|
|
|
|
|
@PostMapping("/log/list/{page}/{size}")
|
|
|
|
|
@ApiOperation(value = "2.2.用户积分日志列表APP", notes = "用户积分日志列表")
|
|
|
|
|
@PostMapping("/admin/log/list/{page}/{size}")
|
|
|
|
|
@GlobalInterceptor(checkAdminLogin = true)
|
|
|
|
|
public Result<PageResult<UserPointLogVO>> getUserPointLogListForAdmin(
|
|
|
|
|
@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.3.用户积分日志列表PC", notes = "用户积分日志列表")
|
|
|
|
|
@PostMapping("/app/log/list/{page}/{size}")
|
|
|
|
|
@GlobalInterceptor(checkAppUserLogin = true)
|
|
|
|
|
public Result<PageResult<UserPointLogVO>> getUserPointLogList(
|
|
|
|
|
public Result<PageResult<UserPointLogVO>> getUserPointLogListForApp(
|
|
|
|
|
@ApiParam(value = "Header中的token信息", required = true) @RequestHeader("Authorization") String token,
|
|
|
|
|
@ApiParam(value = "查询对象") @RequestBody UserPointLogSearchDto userPointLogSearchDto,
|
|
|
|
|
@ApiParam(value = "页码", required = true) @PathVariable Integer page,
|
|
|
|
|