1
This commit is contained in:
@@ -40,7 +40,7 @@ public class WebConfig implements WebMvcConfigurer {
|
||||
registry.addInterceptor(jwtInterceptor)
|
||||
.addPathPatterns("/api/**/**") // 保护这些路径
|
||||
.excludePathPatterns(Arrays.asList("/api/auth/precheckEmail", "/api/auth/registerOrLogin",
|
||||
"/api/auth/forgotPwd", "/api/style/callback","/api/try-on-effects/*","/api/customer-photos/*","/api/visit-records/*")); // 排除登录接口
|
||||
"/api/auth/forgotPwd", "/api/style/callback")); // 排除登录接口
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user