From e29f147aab5b0b0b794d611b522b67b94423e3cf Mon Sep 17 00:00:00 2001
From: Fixiaobai <fixiaobai@163.com>
Date: 星期四, 07 九月 2023 17:56:57 +0800
Subject: [PATCH] 修改bug

---
 sys/src/main/java/com/yuanchu/limslaboratory/aop/AuthRequestAspect.java |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/sys/src/main/java/com/yuanchu/limslaboratory/aop/AuthRequestAspect.java b/sys/src/main/java/com/yuanchu/limslaboratory/aop/AuthRequestAspect.java
index 4c54f75..ed54614 100644
--- a/sys/src/main/java/com/yuanchu/limslaboratory/aop/AuthRequestAspect.java
+++ b/sys/src/main/java/com/yuanchu/limslaboratory/aop/AuthRequestAspect.java
@@ -37,7 +37,7 @@
     public void pointCut() {
     }
 
-    private final static String ADMIN = "f5c8bcb7d5a0fd27e2323280f7e98cad";
+    private final static String ADMIN = "c3284d0f94606de1fd2af172aba15bf3";
 
 
     @Resource
@@ -97,10 +97,10 @@
             boolean b = roleService.hasUrl(String.valueOf(urlType.get("type")), String.valueOf(urlType.get("menuId")), roleId);
             if (!b) {
                 log.warn("鐢ㄦ埛/id锛�" + userInfo.get("name") + "/" + userInfo.get("id") + "---------鏉冮檺涓嶈冻锛屽凡鎷︽埅锛�");
-                //throw new AuthException("400","鏃犳潈闄�");
+                throw new AuthException("400","鏃犳潈闄�");
             }
         } else {
-            throw new AuthException("401", "鐧婚檰杩囨湡");
+            throw new AuthException("401", "鐧婚檰杩囨湡!");
         }
     }
 

--
Gitblit v1.9.3