mirror of
https://gitee.com/lab1024/smart-admin.git
synced 2025-10-04 03:06:39 +08:00
commit
45574b260e
@ -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 || noNeedLoginToo) {
|
||||
System.out.println("request.getContextPath() : " + request.getContextPath());
|
||||
if (noNeedLogin) {
|
||||
return true;
|
||||
}
|
||||
//放行的Uri前缀
|
||||
|
Loading…
Reference in New Issue
Block a user