From 1db7b3f6a11a9aadccb0a2af7940d95a48a53015 Mon Sep 17 00:00:00 2001 From: MichaelWin Date: Mon, 17 Nov 2025 15:09:00 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E6=96=B0=E5=A2=9E=E3=80=91=E6=8E=92?= =?UTF-8?q?=E9=99=A4=E5=92=A8=E8=AF=A2=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/corewing/app/config/SaTokenConfig.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/corewing/app/config/SaTokenConfig.java b/src/main/java/com/corewing/app/config/SaTokenConfig.java index f0e143a..2817d0c 100644 --- a/src/main/java/com/corewing/app/config/SaTokenConfig.java +++ b/src/main/java/com/corewing/app/config/SaTokenConfig.java @@ -45,6 +45,8 @@ public class SaTokenConfig implements WebMvcConfigurer { // 排除 Druid 监控 .excludePathPatterns("/druid/**") // 排除错误页面 - .excludePathPatterns("/error", "/error/**"); + .excludePathPatterns("/error", "/error/**") + // 排除咨询接口 + .excludePathPatterns("/contactMsg", "/contactMsg/**"); } }