From e7b3a5e891287b1291d2ac38f7c83d5d73bc7906 Mon Sep 17 00:00:00 2001
From: 13693261870 <252740454@qq.com>
Date: 星期六, 08 十月 2022 08:49:01 +0800
Subject: [PATCH] 1

---
 src/main/java/com/lf/server/controller/sys/ResController.java |   30 ++++++++++++++++++------------
 1 files changed, 18 insertions(+), 12 deletions(-)

diff --git a/src/main/java/com/lf/server/controller/data/ResController.java b/src/main/java/com/lf/server/controller/sys/ResController.java
similarity index 93%
rename from src/main/java/com/lf/server/controller/data/ResController.java
rename to src/main/java/com/lf/server/controller/sys/ResController.java
index 55f7b75..1f04d17 100644
--- a/src/main/java/com/lf/server/controller/data/ResController.java
+++ b/src/main/java/com/lf/server/controller/sys/ResController.java
@@ -1,10 +1,10 @@
-package com.lf.server.controller.data;
+package com.lf.server.controller.sys;
 
-import com.lf.server.controller.BaseController;
+import com.lf.server.aspect.SysLog;
+import com.lf.server.controller.all.BaseController;
 import com.lf.server.entity.all.ResponseMsg;
-import com.lf.server.entity.data.DictEntity;
-import com.lf.server.entity.data.ResEntity;
-import com.lf.server.service.data.ResService;
+import com.lf.server.entity.sys.ResEntity;
+import com.lf.server.service.sys.ResService;
 import io.swagger.annotations.Api;
 import io.swagger.annotations.ApiImplicitParam;
 import io.swagger.annotations.ApiImplicitParams;
@@ -19,13 +19,14 @@
  * @author SWS
  * @date 2022-09.28
  */
-@Api(tags = "璧勬簮琛�")
+@Api(tags = "杩愮淮绠$悊\\璧勬簮绠$悊")
 @RestController
 @RequestMapping("/res")
 public class ResController  extends BaseController {
     @Autowired
     ResService resService;
 
+    @SysLog()
     @ApiOperation(value = "鏌ヨ璁板綍鏁�")
     @ApiImplicitParams({
             @ApiImplicitParam(name = "name", value = "鍚嶇О", dataType = "String", paramType = "query", required = false, example = "sys_res")
@@ -41,6 +42,7 @@
         }
     }
 
+    @SysLog()
     @ApiOperation(value = "鍒嗛〉鏌ヨ")
     @ApiImplicitParams({
             @ApiImplicitParam(name = "name", value = "鍚嶇О", dataType = "String", paramType = "query", example = "sys_res"),
@@ -62,6 +64,7 @@
         }
     }
 
+    @SysLog()
     @ApiOperation(value = "鍒嗛〉鏌ヨ骞惰繑鍥炶褰曟暟")
     @ApiImplicitParams({
             @ApiImplicitParam(name = "name", value = "鍚嶇О", dataType = "String", paramType = "query", example = "sys_res"),
@@ -85,9 +88,11 @@
             return fail(ex.getMessage(), null);
         }
     }
+
+    @SysLog()
     @ApiOperation(value = "鎻掑叆瀛楀吀")
     @ApiImplicitParams({
-            @ApiImplicitParam(name = "resEntity", value = "瀛楀吀瀹炰綋绫�", dataType = "com.lf.server.entity.data.ResEntity", paramType = "body", example = "")
+            @ApiImplicitParam(name = "resEntity", value = "瀛楀吀瀹炰綋绫�", dataType = "com.lf.server.entity.sys.ResEntity", paramType = "body", example = "")
     })
     @PostMapping(value = "/insertRes", produces = "application/json; charset=UTF-8")
     public ResponseMsg<Integer> insertRes(@RequestBody ResEntity resEntity) {
@@ -100,6 +105,7 @@
         }
     }
 
+    @SysLog()
     @ApiOperation(value = "鎻掑叆澶氭潯瀛楀吀")
     @ApiImplicitParams({
             @ApiImplicitParam(name = "resEntity", value = "瀛楀吀瀹炰綋绫婚泦鍚�", dataType = "List<ResEntity>", paramType = "body", example = "")
@@ -115,6 +121,7 @@
         }
     }
 
+    @SysLog()
     @ApiOperation(value = "鍒犻櫎涓�鏉″瓧鍏�")
     @ApiImplicitParams({
             @ApiImplicitParam(name = "id", value = "瀛楀吀ID", dataType = "Integer", paramType = "query", example = "1")
@@ -130,6 +137,7 @@
         }
     }
 
+    @SysLog()
     @ApiOperation(value = "鍒犻櫎澶氭潯瀛楀吀")
     @ApiImplicitParams({
             @ApiImplicitParam(name = "ids", value = "瀛楀吀ID闆嗗悎", dataType = "List<Integer>", paramType = "query", example = "1,2")
@@ -147,6 +155,7 @@
         }
     }
 
+    @SysLog()
     @ApiOperation(value = "鏇存柊涓�鏉″瓧鍏�")
     @ApiImplicitParams({
             @ApiImplicitParam(name = "resEntity", value = "瀛楀吀ID闆嗗悎", dataType = "ResEntity", paramType = "body", example = "")
@@ -163,6 +172,7 @@
         }
     }
 
+    @SysLog()
     @ApiOperation(value = "鏍规嵁ID鏌ヨ瀛楀吀")
     @ApiImplicitParams({
             @ApiImplicitParam(name = "id", value = "瀛楀吀ID", dataType = "Integer", paramType = "query", example = "1")
@@ -178,6 +188,7 @@
         }
     }
 
+    @SysLog()
     @ApiOperation(value = "鏌ヨ鎵�鏈夊瓧鍏�")
     @GetMapping(value = "/selectResAll")
     public ResponseMsg<List<ResEntity>> selectResAll() {
@@ -189,9 +200,4 @@
             return fail(ex.getMessage(), null);
         }
     }
-
-
-
-
-
 }

--
Gitblit v1.9.3