不再使用的代码清理

This commit is contained in:
2025-10-26 15:34:05 +08:00
parent 20c8d781c4
commit fdac026720
101 changed files with 278 additions and 38135 deletions
@@ -23,15 +23,17 @@ public class WebMvcConfig implements WebMvcConfigurer {
registry.addInterceptor(jwtAuthInterceptor)
.addPathPatterns("/api/**") // 拦截所有API请求
.excludePathPatterns(
"/api/auth/login", // 登录接口
"/api/auth/register", // 注册接口
"/api/auth/captcha", // 验证码接口
"/api/auth/refresh-token", // 刷新token接口
"/api/health", // 健康检查接口
"/api/ws/**", // WebSocket接口
"/swagger-ui/**", // Swagger UI
"/v3/api-docs/**", // API文档
"/actuator/**" // 监控端点
"/api/auth/login", // 登录接口
"/api/auth/register", // 注册接口
"/api/auth/captcha", // 图形验证码接口
"/api/auth/sms-code", // 短信验证码接口(免登录)
"/api/auth/refresh-token", // 刷新token接口
"/api/auth/resetPassword", // 重置密码接口(免登录)
"/api/health", // 健康检查接口
"/api/ws/**", // WebSocket接口
"/swagger-ui/**", // Swagger UI
"/v3/api-docs/**", // API文档
"/actuator/**" // 监控端点
);
}
}