【优化】拦截地址

This commit is contained in:
2025-10-31 10:13:52 +08:00
parent ac4d7d8176
commit be30f31990

View File

@@ -33,8 +33,10 @@ public class SaTokenConfig implements WebMvcConfigurer {
.excludePathPatterns("/agreement", "/agreement/**")
// 排除固件查询接口(不需要登录)
.excludePathPatterns("/firmware/**")
// 排除系统登录页(不需要登录)
.excludePathPatterns("/loading.html", "/admin/login.html")
// 排除静态资源
.excludePathPatterns("/", "/loading.html", "/admin/login.html", "/*.css", "/*.js", "/*.ico", "/static/**")
.excludePathPatterns("/", "/*.css", "/*.js", "/*.ico", "/static/**", "/assets/**")
// 排除后台管理静态资源
.excludePathPatterns("/admin/**")
// 排除 Druid 监控