|
|
|
@ -18,7 +18,8 @@ public class InterceptorAdapterConfig implements WebMvcConfigurer {
|
|
|
|
|
public void addInterceptors(InterceptorRegistry interceptorRegistry) { |
|
|
|
|
InterceptorRegistration registry = interceptorRegistry.addInterceptor(new FactoryAccountsInterceptor(factoryTokenService)); |
|
|
|
|
registry.addPathPatterns("/factory/**"). |
|
|
|
|
excludePathPatterns("/factory/auth/token") |
|
|
|
|
excludePathPatterns("/factory/auth/token"). |
|
|
|
|
excludePathPatterns("/factory/oupai") |
|
|
|
|
.excludePathPatterns("/factory/common/**"); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|