From df89a5b0c2e19595c7c045bbdfae8a5e86629eb5 Mon Sep 17 00:00:00 2001 From: Fixiaobai <fixiaobai@163.com> Date: 星期四, 31 八月 2023 16:02:43 +0800 Subject: [PATCH] 修改委托信息 --- sys/src/main/java/com/yuanchu/limslaboratory/aop/AuthRequestAspect.java | 4 ++-- 1 files changed, 2 insertions(+), 2 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..54e2372 100644 --- a/sys/src/main/java/com/yuanchu/limslaboratory/aop/AuthRequestAspect.java +++ b/sys/src/main/java/com/yuanchu/limslaboratory/aop/AuthRequestAspect.java @@ -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