Commit fe879a1c authored by Administrator's avatar Administrator

放行远程方法调用接口

parent 505b72a5
...@@ -70,7 +70,10 @@ public class SecurityInterceptor extends JService implements HandlerInterceptor ...@@ -70,7 +70,10 @@ public class SecurityInterceptor extends JService implements HandlerInterceptor
return true; return true;
} }
// getCmpt方法不拦截
if (uri.contains("gk/cmpt/getCmpt")) {
return true;
}
// /gk/ 和 /easy/ 路径要求session登录 // /gk/ 和 /easy/ 路径要求session登录
if ((uri.startsWith("/gk/") || uri.contains("easy")) && request.getSession().getAttribute("user") == null) { if ((uri.startsWith("/gk/") || uri.contains("easy")) && request.getSession().getAttribute("user") == null) {
......
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