【新增】排除验证码登录接口

This commit is contained in:
2025-11-25 18:20:47 +08:00
parent 73ab200daf
commit 5cd5353f97

View File

@@ -25,7 +25,7 @@ public class SaTokenConfig implements WebMvcConfigurer {
// 拦截所有路由
.addPathPatterns("/**")
// 排除登录、注册、发送验证码, 忘记密码接口
.excludePathPatterns("/user/login", "/user/register", "/user/sendCode", "/user/forgetPassword")
.excludePathPatterns("/user/login", "/user/register", "/user/sendCode", "/user/forgetPassword", "/user/codeLogin")
// 排除后台管理登录接口
.excludePathPatterns("/sys/user/login")
// 排除反馈接口(支持匿名提交)