mirror of
https://gitee.com/dromara/RuoYi-Vue-Plus.git
synced 2026-09-19 17:58:17 +08:00
Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
commit
40073adaad
@ -39,11 +39,11 @@ public class JwtAuthenticationTokenFilter extends OncePerRequestFilter
|
||||
throws ServletException, IOException
|
||||
{
|
||||
// 匿名路径放行 默认拦截
|
||||
boolean flag = true;
|
||||
boolean flag = false;
|
||||
for (String anonymou : securityProperties.getAnonymous()) {
|
||||
PathMatcher pm = new AntPathMatcher();
|
||||
if (pm.matchStart(anonymou, request.getRequestURI())) {
|
||||
flag = false;
|
||||
flag = true;
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user