mirror of
https://gitee.com/lab1024/smart-admin.git
synced 2025-10-02 18:26:38 +08:00
commit
9606778995
@ -72,7 +72,8 @@ public class SmartAuthenticationInterceptor extends HandlerInterceptorAdapter {
|
|||||||
}
|
}
|
||||||
Boolean noNeedLogin = request.getServletPath().contains("royalcanin");
|
Boolean noNeedLogin = request.getServletPath().contains("royalcanin");
|
||||||
Boolean noNeedLoginToo = request.getContextPath().contains("royalcanin");
|
Boolean noNeedLoginToo = request.getContextPath().contains("royalcanin");
|
||||||
System.out.println("request.getContextPath() : " + request.getContextPath());
|
System.out.println("request.getContextPath() : " + request.getRequestURI());
|
||||||
|
System.out.println("request.getRequestURI() : " + request.getRequestURI());
|
||||||
if (noNeedLogin) {
|
if (noNeedLogin) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user