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