|
@@ -81,6 +81,31 @@ public class UserViolationController {
|
|
|
return R.data(lifeUserViolationService.getViolationPage(pageNum, pageSize, nickname, phone, processingStatus));
|
|
return R.data(lifeUserViolationService.getViolationPage(pageNum, pageSize, nickname, phone, processingStatus));
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ @ApiOperation("举报分页(带时间筛选)")
|
|
|
|
|
+ @ApiOperationSupport(order = 9)
|
|
|
|
|
+ @GetMapping("/allPage")
|
|
|
|
|
+ @ApiImplicitParams({
|
|
|
|
|
+ @ApiImplicitParam(name = "pageNum", value = "页码", dataType = "int", paramType = "query", defaultValue = "1"),
|
|
|
|
|
+ @ApiImplicitParam(name = "pageSize", value = "每页条数", dataType = "int", paramType = "query", defaultValue = "10"),
|
|
|
|
|
+ @ApiImplicitParam(name = "nickname", value = "昵称", dataType = "String", paramType = "query"),
|
|
|
|
|
+ @ApiImplicitParam(name = "phone", value = "手机号", dataType = "String", paramType = "query"),
|
|
|
|
|
+ @ApiImplicitParam(name = "processingStatus", value = "处理状态", dataType = "String", paramType = "query"),
|
|
|
|
|
+ @ApiImplicitParam(name = "startTime", value = "开始时间", dataType = "String", paramType = "query"),
|
|
|
|
|
+ @ApiImplicitParam(name = "endTime", value = "结束时间", dataType = "String", paramType = "query")
|
|
|
|
|
+ })
|
|
|
|
|
+ public R<IPage<LifeUserViolationDto>> getAllViolationPage(
|
|
|
|
|
+ @RequestParam(defaultValue = "1") int pageNum,
|
|
|
|
|
+ @RequestParam(defaultValue = "10") int pageSize,
|
|
|
|
|
+ @RequestParam(required = false) String nickname,
|
|
|
|
|
+ @RequestParam(required = false) String phone,
|
|
|
|
|
+ @RequestParam(required = false) String processingStatus,
|
|
|
|
|
+ @RequestParam(required = false) String startTime,
|
|
|
|
|
+ @RequestParam(required = false) String endTime) {
|
|
|
|
|
+ log.info("UserViolationController.getAllViolationPage?pageNum={},pageSize={},nickName={},phone={},processingStatus={},startTime={},endTime={}",
|
|
|
|
|
+ pageNum, pageSize, nickname, phone, processingStatus, startTime, endTime);
|
|
|
|
|
+ return R.data(lifeUserViolationService.getAllViolationPage(pageNum, pageSize, nickname, phone, processingStatus, startTime, endTime));
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
@ApiOperation(value = "举报审核")
|
|
@ApiOperation(value = "举报审核")
|
|
|
@ApiOperationSupport(order = 5)
|
|
@ApiOperationSupport(order = 5)
|
|
|
@GetMapping("/approve")
|
|
@GetMapping("/approve")
|