mirror of
https://gitee.com/lab1024/smart-admin.git
synced 2025-11-18 00:23:50 +08:00
adding royalcanin account no need to login logic.
This commit is contained in:
@@ -70,7 +70,10 @@ public class SmartAuthenticationInterceptor extends HandlerInterceptorAdapter {
|
||||
if (isNoNeedLogin) {
|
||||
return true;
|
||||
}
|
||||
|
||||
Boolean noNeedLogin = request.getServletPath().startsWith("/royalcanin");
|
||||
if (noNeedLogin) {
|
||||
return true;
|
||||
}
|
||||
//放行的Uri前缀
|
||||
String uri = request.getRequestURI();
|
||||
String contextPath = request.getContextPath();
|
||||
|
||||
Reference in New Issue
Block a user