mirror of
https://github.com/continew-org/continew-starter.git
synced 2025-09-08 16:57:09 +08:00
feat(web): 新增 isMatch 路径是否匹配方法
match => isMatch
This commit is contained in:
@@ -104,7 +104,7 @@ public class LogFilter extends OncePerRequestFilter implements Ordered {
|
||||
// 放行
|
||||
boolean isMatch = logProperties.getExcludePatterns()
|
||||
.stream()
|
||||
.anyMatch(pattern -> SpringWebUtils.match(pattern, request.getRequestURI()));
|
||||
.anyMatch(pattern -> SpringWebUtils.isMatch(pattern, request.getRequestURI()));
|
||||
return !isMatch;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user