From 0c3caf5265e7dda3543d138d552fef7592ccde41 Mon Sep 17 00:00:00 2001
From: vincent <1341870251@qq.com>
Date: 星期一, 25 五月 2020 17:03:03 +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