From fee67ca8a0760315047a52fc4101a8f4f80b7a7f Mon Sep 17 00:00:00 2001 From: 13693261870 <252740454@qq.com> Date: 星期一, 11 十一月 2024 15:02:54 +0800 Subject: [PATCH] 1 --- src/main/java/com/moon/server/controller/data/DirController.java | 12 ++++-------- 1 files changed, 4 insertions(+), 8 deletions(-) diff --git a/src/main/java/com/moon/server/controller/data/DirController.java b/src/main/java/com/moon/server/controller/data/DirController.java index 5e8051c..889ff14 100644 --- a/src/main/java/com/moon/server/controller/data/DirController.java +++ b/src/main/java/com/moon/server/controller/data/DirController.java @@ -19,13 +19,9 @@ import javax.servlet.http.HttpServletResponse; import java.util.List; -/** - * 鐩綍绠$悊 - * @author sws - * @date 2022-09-22 - */ @Api(tags = "鏁版嵁绠$悊\\鐩綍绠$悊") @RestController +@SuppressWarnings("ALL") @RequestMapping("/dir") public class DirController extends BaseController { @Autowired @@ -37,7 +33,7 @@ @SysLog() @ApiOperation(value = "鎻掑叆涓�鏉�") @ApiImplicitParams({ - @ApiImplicitParam(name = "entity", value = "瀹炰綋绫�", dataType = "com.lf.server.entity.data.DirEntity", paramType = "body", example = "") + @ApiImplicitParam(name = "entity", value = "瀹炰綋绫�", dataType = "DirEntity", paramType = "body", example = "") }) @PostMapping(value = "/insertDir", produces = "application/json; charset=UTF-8") public ResponseMsg<Integer> insertDir(@RequestBody DirEntity entity, HttpServletRequest req) { @@ -58,7 +54,7 @@ @SysLog() @ApiOperation(value = "鎻掑叆澶氭潯") @ApiImplicitParams({ - @ApiImplicitParam(name = "list", value = "瀹炰綋绫婚泦鍚�", dataType = "com.lf.server.entity.data.DirEntity", paramType = "body", example = "") + @ApiImplicitParam(name = "list", value = "瀹炰綋绫婚泦鍚�", dataType = "DirEntity", paramType = "body", example = "") }) @PostMapping(value = "/insertDirs", produces = "application/json; charset=UTF-8") public ResponseMsg<Integer> insertDirs(@RequestBody List<DirEntity> list, HttpServletRequest req) { @@ -95,7 +91,7 @@ @SysLog() @ApiOperation(value = "鍒犻櫎澶氭潯") @ApiImplicitParams({ - @ApiImplicitParam(name = "ids", value = "ID鏁扮粍", dataType = "com.lf.server.entity.data.DirEntity", paramType = "body", example = "") + @ApiImplicitParam(name = "ids", value = "ID鏁扮粍", dataType = "DirEntity", paramType = "body", example = "") }) @GetMapping(value = "/deleteDirs") public ResponseMsg<Integer> deleteDirs(@RequestParam List<Integer> ids) { -- Gitblit v1.9.3