From 035bd551cd55080e71687e79c8f5ea59ff542c7a Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期二, 23 六月 2020 09:51:25 +0800
Subject: [PATCH] #

---
 src/main/java/com/zy/system/controller/RoleController.java |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/main/java/com/zy/system/controller/RoleController.java b/src/main/java/com/zy/system/controller/RoleController.java
index f29fa65..d47e3bf 100644
--- a/src/main/java/com/zy/system/controller/RoleController.java
+++ b/src/main/java/com/zy/system/controller/RoleController.java
@@ -74,7 +74,7 @@
     }
 
     @RequestMapping(value = "/role/edit/auth")
-    @ManagerAuth
+    @ManagerAuth(memo = "瑙掕壊缂栬緫")
     public R edit(Role role) {
         if (Cools.isEmpty(role)){
             return R.error();
@@ -88,14 +88,14 @@
     }
 
     @RequestMapping(value = "/role/add/auth")
-    @ManagerAuth
+    @ManagerAuth(memo = "瑙掕壊娣诲姞")
     public R add(Role role) {
         roleService.insert(role);
         return R.ok();
     }
 
 	@RequestMapping(value = "/role/update/auth")
-    @ManagerAuth
+    @ManagerAuth(memo = "瑙掕壊淇敼")
     public R update(Role role){
         if (Cools.isEmpty(role) || null==role.getId()){
             return R.error();
@@ -105,7 +105,7 @@
     }
 
     @RequestMapping(value = "/role/delete/auth")
-    @ManagerAuth
+    @ManagerAuth(memo = "瑙掕壊鍒犻櫎")
     public R delete(Integer[] ids){
         if (Cools.isEmpty(ids)){
             return R.error();
@@ -115,7 +115,7 @@
     }
 
     @RequestMapping(value = "/role/export/auth")
-    @ManagerAuth
+    @ManagerAuth(memo = "瑙掕壊瀵煎嚭")
     public R export(@RequestBody JSONObject param){
         List<String> fields = JSONObject.parseArray(param.getJSONArray("fields").toJSONString(), String.class);
         EntityWrapper<Role> wrapper = new EntityWrapper<>();

--
Gitblit v1.9.1