增加首页查询门店和查询车型放行
This commit is contained in:
@ -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",
|
||||
|
||||
Reference in New Issue
Block a user