From b680856aa7a5c7225fae1ea81f2706f10437f373 Mon Sep 17 00:00:00 2001 From: wl <173@qq.com> Date: 星期五, 23 十二月 2022 10:45:00 +0800 Subject: [PATCH] fix: msg不允许为空 --- src/main/java/com/example/jz/controller/CauseController.java | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/example/jz/controller/CauseController.java b/src/main/java/com/example/jz/controller/CauseController.java index 2a4ce10..8ba9def 100644 --- a/src/main/java/com/example/jz/controller/CauseController.java +++ b/src/main/java/com/example/jz/controller/CauseController.java @@ -73,6 +73,12 @@ return R.ok(causeService.getCauserListByCondition(cause, status, size, current)); } + @ApiOperation(httpMethod = "GET", value = "妗堜欢鍙�-妗堜欢褰曞叆-妗堜欢褰曞叆鍒楄〃") + @GetMapping("/getCause") + @ApiResponse(message = "鎵ц鎴愬姛", code = 200) + public R getCause(String cause, Integer status, Integer size, Integer current,Integer id) { + return R.ok(causeService.getCauserListByCondition(cause, status, size, current,id)); + } @ApiOperation(httpMethod = "GET", value = "妗堜欢鍙�-妗堜欢褰曞叆-璐熻矗浜烘煡璇�") @GetMapping("/getManagerList") @ApiResponse(message = "鎵ц鎴愬姛", code = 200) -- Gitblit v1.8.0