增加首页查询门店和查询车型放行

This commit is contained in:
2025-07-26 18:09:34 +08:00
parent db8504fb7a
commit d5a1283740

View File

@ -29,9 +29,15 @@ public class AuthGlobalFilter implements GlobalFilter, Ordered {
// ✅ 支持通配符路径
private static final PathMatcher PATH_MATCHER = new AntPathMatcher();
private static final List<String> ALLOW_PATH_PATTERNS = Arrays.asList(
//登录注册放行
"/zc/user/test",
"/zc/user/register",
"/zc/user/auth/**",
//首页查询门店
"/zc/store/client/listStoresByBBoxWithDistance",
//查询车型
"/zc/car/carModel/pageStoreCarModel",
// Swagger 放行
"/zc/**/swagger-ui.html",