Fixiaobai
2023-08-31 df89a5b0c2e19595c7c045bbdfae8a5e86629eb5
sys/src/main/java/com/yuanchu/limslaboratory/aop/AuthRequestAspect.java
@@ -97,7 +97,7 @@
            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", "登陆过期!");