`/**/login` 是 AntPathMatcher 语法,PathPatternParser (Spring Boot 3.x 默认) 不支持 `**` 中置,导致排除规则静默失效,登录请求被拦截器拦截抛出 NotLoginException。 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@@ -23,7 +23,7 @@ public class SaTokenConfigure implements WebMvcConfigurer {
.excludePathPatterns(
"/wx/*",
"/finance/export/*",
- "/**/login",
+ "/admin-user/login",
"/**/error",
"/**/pullEnStations/*",
"/**/*.html",