|
|
|
@ -33,12 +33,12 @@ public class InterceptorAdapterConfig implements WebMvcConfigurer {
|
|
|
|
|
excludePathPatterns("/factory/auth/token"). |
|
|
|
|
excludePathPatterns("/factory/oupai/**"). |
|
|
|
|
excludePathPatterns("/factory/zb/**") |
|
|
|
|
.excludePathPatterns("/factory/common/**").order(1); |
|
|
|
|
.excludePathPatterns("/factory/common/**").order(2); |
|
|
|
|
InterceptorRegistration registryZbFactory = interceptorRegistry.addInterceptor(new ZbFactoryAccountsInterceptor(zbFactoryProperties)); |
|
|
|
|
registryZbFactory.addPathPatterns("/factory/zb/**").order(2); |
|
|
|
|
registryZbFactory.addPathPatterns("/factory/zb/**").order(3); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
registry=interceptorRegistry.addInterceptor(new LocalServerLoginAccountsInterceptor(redis,environment)).addPathPatterns("/**").order(3); |
|
|
|
|
registry=interceptorRegistry.addInterceptor(new LocalServerLoginAccountsInterceptor(redis,environment)).addPathPatterns("/**").order(1); |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|