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/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