疯狂的狮子li
2021-09-26 bff9d0560d9c833c885f88f8ff0ab27aec8ef069
ruoyi-framework/src/main/java/com/ruoyi/framework/security/filter/JwtAuthenticationTokenFilter.java
@@ -42,11 +42,10 @@
        boolean flag = true;
        for (String anonymou : securityProperties.getAnonymous()) {
            PathMatcher pm = new AntPathMatcher();
            if (pm.matchStart(anonymou, request.getRequestURI())) {
            if (pm.match(anonymou, request.getRequestURI())) {
                flag = false;
                break;
            }
        }
        if (flag) {
            LoginUser loginUser = tokenService.getLoginUser(request);