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/**"); } }