Commit 2d16a6ae by guojuxing

日志

parent 504627a0
...@@ -133,6 +133,7 @@ public class AuthInterceptor extends HandlerInterceptorAdapter { ...@@ -133,6 +133,7 @@ public class AuthInterceptor extends HandlerInterceptorAdapter {
return ""; return "";
}).collect(Collectors.toSet()); }).collect(Collectors.toSet());
//如果匹配上了,说明是没权限 //如果匹配上了,说明是没权限
log.info("没有权限的操作项数据:{}", JSON.toJSONString(uriSet));
if (uriSet.contains(uri)) { if (uriSet.contains(uri)) {
throw new CommonException(ErrorCode.SYSTEM_ERROR.getErrorCode(), "sorry,您无该页面的访问权限,请联系超级管理员!"); throw new CommonException(ErrorCode.SYSTEM_ERROR.getErrorCode(), "sorry,您无该页面的访问权限,请联系超级管理员!");
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment