From 46846b72f11d260a590fec4ba502b74ae3866acb Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期三, 10 六月 2020 15:57:30 +0800
Subject: [PATCH] #

---
 src/main/java/com/zy/common/web/AuthController.java |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/main/java/com/zy/common/web/AuthController.java b/src/main/java/com/zy/common/web/AuthController.java
index 4563cc5..835ba54 100644
--- a/src/main/java/com/zy/common/web/AuthController.java
+++ b/src/main/java/com/zy/common/web/AuthController.java
@@ -49,6 +49,7 @@
     private RolePermissionService rolePermissionService;
 
     @RequestMapping("/login.action")
+    @ManagerAuth(value = ManagerAuth.Auth.NONE, memo = "鐧诲綍")
     public R loginAction(String mobile, String password){
         if (mobile.equals("super") && password.equals(Cools.md5(superPwd))) {
             Map<String, Object> res = new HashMap<>();
@@ -114,7 +115,7 @@
     }
 
     @RequestMapping("/menu/auth")
-    @ManagerAuth
+    @ManagerAuth(memo = "棣栭〉鑿滃崟")
     public R menu(){
         // 鑾峰彇鎵�鏈変竴绾ц彍鍗�
         List<Resource> oneLevel = resourceService.selectList(new EntityWrapper<Resource>().eq("level", 1).eq("status", 1).orderBy("sort"));
@@ -257,7 +258,7 @@
     }
 
     @RequestMapping("/power/auth")
-    @ManagerAuth
+    @ManagerAuth(memo = "鎺堟潈")
     @Transactional
     public R power(Long roleId, String powers){
         Role role = roleService.selectById(roleId);

--
Gitblit v1.9.1