From ca1b92cde3cf8f9d9ee0b7420f5b13f200e80781 Mon Sep 17 00:00:00 2001 From: fire Date: Fri, 20 Sep 2024 02:10:08 +0000 Subject: [PATCH] =?UTF-8?q?fix(log):=20=E4=BF=AE=E5=A4=8D=20continew-start?= =?UTF-8?q?er.log.exclude-patterns=20=E9=85=8D=E7=BD=AE=E4=B8=8D=E7=94=9F?= =?UTF-8?q?=E6=95=88=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../starter/log/interceptor/autoconfigure/LogProperties.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/continew-starter-log/continew-starter-log-interceptor/src/main/java/top/continew/starter/log/interceptor/autoconfigure/LogProperties.java b/continew-starter-log/continew-starter-log-interceptor/src/main/java/top/continew/starter/log/interceptor/autoconfigure/LogProperties.java index c821a7f4..96c356ec 100644 --- a/continew-starter-log/continew-starter-log-interceptor/src/main/java/top/continew/starter/log/interceptor/autoconfigure/LogProperties.java +++ b/continew-starter-log/continew-starter-log-interceptor/src/main/java/top/continew/starter/log/interceptor/autoconfigure/LogProperties.java @@ -96,6 +96,6 @@ public class LogProperties { * @return 是否匹配 */ public boolean isMatch(String uri) { - return this.getExcludePatterns().stream().anyMatch(pattern -> SpringWebUtils.isMatch(pattern, uri)); + return this.getExcludePatterns().stream().anyMatch(pattern -> SpringWebUtils.isMatch(uri, pattern)); } }