From df8b1094a09897b3f881529a31db8893d298ed12 Mon Sep 17 00:00:00 2001 From: wl <173@qq.com> Date: 星期二, 19 七月 2022 15:58:30 +0800 Subject: [PATCH] api名称修改和导出一张时候大小修改 --- src/main/java/com/example/jz/controller/CauseController.java | 16 ++++++++-------- 1 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/main/java/com/example/jz/controller/CauseController.java b/src/main/java/com/example/jz/controller/CauseController.java index a5cde56..f3c288e 100644 --- a/src/main/java/com/example/jz/controller/CauseController.java +++ b/src/main/java/com/example/jz/controller/CauseController.java @@ -49,7 +49,7 @@ } - @ApiOperation(httpMethod = "POST", value = "娣诲姞妗堜欢") + @ApiOperation(httpMethod = "POST", value = "妗堜欢鍙�-妗堜欢褰曞叆-娣诲姞妗堜欢") @PostMapping("/addCause") @ApiResponse(message = "鎵ц鎴愬姛", code = 200) public R addCause(@RequestBody CauseDto causeDto) { @@ -57,7 +57,7 @@ return R.ok(); } - @ApiOperation(httpMethod = "PUT", value = "淇敼妗堜欢") + @ApiOperation(httpMethod = "PUT", value = "妗堜欢鍙�-妗堜欢褰曞叆-淇敼妗堜欢") @PutMapping("/updateCause") @ApiResponse(message = "鎵ц鎴愬姛", code = 200) public R updateCause(@RequestBody CauseDto causeDto, Integer id) { @@ -65,35 +65,35 @@ } - @ApiOperation(httpMethod = "GET", value = "妗堜欢褰曞叆鍒楄〃") + @ApiOperation(httpMethod = "GET", value = "妗堜欢鍙�-妗堜欢褰曞叆-妗堜欢褰曞叆鍒楄〃") @GetMapping("/getCauseList") @ApiResponse(message = "鎵ц鎴愬姛", code = 200) public R getCauseList(String cause, Integer status, Integer size, Integer current) { return R.ok(causeService.getCauserListByCondition(cause, status, size, current)); } - @ApiOperation(httpMethod = "GET", value = "璐熻矗浜烘煡璇�") + @ApiOperation(httpMethod = "GET", value = "妗堜欢鍙�-妗堜欢褰曞叆-璐熻矗浜烘煡璇�") @GetMapping("/getManagerList") @ApiResponse(message = "鎵ц鎴愬姛", code = 200) public R getManagerList() { return R.ok(causeService.getManagerList()); } - @ApiOperation(httpMethod = "GET", value = "鑾峰彇鎶ユ浜哄憳") + @ApiOperation(httpMethod = "GET", value = "妗堜欢鍙�-妗堜欢褰曞叆-鑾峰彇妗堜欢鎶ユ浜哄憳") @GetMapping("/getReporterList") @ApiResponse(message = "鎵ц鎴愬姛", code = 200) public R getReporterList(Integer causeId) { return R.ok(causeService.getReporterList(causeId)); } - @ApiOperation(httpMethod = "GET", value = "鑾峰彇妗堜欢缇ゅ叕鍛�") + @ApiOperation(httpMethod = "GET", value = "妗堜欢鍙�-妗堜欢褰曞叆-鑾峰彇妗堜欢缇ゅ叕鍛�") @GetMapping("/getGroupAnnouncement") @ApiResponse(message = "鎵ц鎴愬姛", code = 200) public R getGroupAnnouncement(Integer groupId) { return R.ok(causeService.getGroupAnnouncement(groupId)); } - @ApiOperation(httpMethod = "DELETE", value = "妗堜欢鍒犻櫎") + @ApiOperation(httpMethod = "DELETE", value = "妗堜欢鍙�-妗堜欢褰曞叆-妗堜欢鍒犻櫎") @DeleteMapping("/deleteCause") @ApiResponse(message = "鎵ц鎴愬姛", code = 200) public R deleteCause(@RequestParam(value = "id") Integer id) { @@ -101,7 +101,7 @@ return R.ok(); } - @ApiOperation(httpMethod = "POST", value = "妗堜欢瀵煎叆") + @ApiOperation(httpMethod = "POST", value = "妗堜欢鍙�-妗堜欢褰曞叆-妗堜欢瀵煎叆") @PostMapping("/upload") @ApiResponse(message = "鎵ц鎴愬姛", code = 200) @SneakyThrows -- Gitblit v1.8.0