From aa8836a65e97e297340fff3a42615f0a36f314e7 Mon Sep 17 00:00:00 2001 From: baizonghao <1719256278@qq.com> Date: 星期一, 22 五月 2023 16:10:10 +0800 Subject: [PATCH] 后台管理端删除聊天记录,新增新增头像,用户管理删选条件等 --- src/main/java/com/example/jz/controller/ReportController.java | 28 ++++++++++++++++++++++------ 1 files changed, 22 insertions(+), 6 deletions(-) diff --git a/src/main/java/com/example/jz/controller/ReportController.java b/src/main/java/com/example/jz/controller/ReportController.java index d08477d..46f65f9 100644 --- a/src/main/java/com/example/jz/controller/ReportController.java +++ b/src/main/java/com/example/jz/controller/ReportController.java @@ -13,7 +13,9 @@ import com.example.jz.modle.entity.Message; import com.example.jz.modle.entity.Report; import com.example.jz.modle.entity.User; +import com.example.jz.modle.vo.NewCauseVo; import com.example.jz.modle.vo.ReportListVo; +import com.example.jz.modle.vo.ReportVXVO; import com.example.jz.service.GroupUserService; import com.example.jz.service.MessageService; import com.example.jz.service.ReportService; @@ -78,6 +80,20 @@ public R<ReportListVo> selectOne(@PathVariable Serializable id) { return R.ok(reportService.getReportListVoById(id)); } + + @GetMapping("/rejectReport/{id}") + @ApiOperation(value = "淇敼椹冲洖鍚庢帴鍙�") + public R<ReportVXVO> getOne(@PathVariable Integer id){ + ReportVXVO res = reportService.getRejectReportById(id); + return R.ok(res); + } + + @GetMapping("/rejectCauseList") + public R<NewCauseVo> rejectCauseList(@RequestParam Integer id){ + NewCauseVo res = reportService.rejectCauseList(id); + return R.ok(res); + } + /** * 鎶ユ @@ -164,11 +180,11 @@ return R.ok(); } - @ApiOperation(httpMethod = "POST", value = "妗堜欢鍙�-鎶ユ浜哄憳-鎶ユ鏉愭枡瀵煎嚭") - @PostMapping("/exportReporter") - @ApiResponse(message = "鎵ц鎴愬姛", code = 200) - public void exportReport(@RequestParam(value = "id") Integer id, HttpServletResponse response) { - reportService.exportReporter(id, response); - } +// @ApiOperation(httpMethod = "POST", value = "妗堜欢鍙�-鎶ユ浜哄憳-鎶ユ鏉愭枡瀵煎嚭") +// @PostMapping("/exportReporter") +// @ApiResponse(message = "鎵ц鎴愬姛", code = 200) +// public void exportReport(@RequestParam(value = "id") Integer id, HttpServletResponse response) { +// reportService.exportReporter(id, response); +// } } -- Gitblit v1.8.0