|
|
|
@ -40,6 +40,8 @@ public class InterceptorAdapterConfig implements WebMvcConfigurer {
|
|
|
|
|
interceptorRegistry.addInterceptor(new FactoryAccountsInterceptor(redis, environment, redisLockClient, mockLoginService, suoFeiYaProperties, deliveryNoteService)) |
|
|
|
|
.addPathPatterns("/logpm-factory-data-suofeiya/order/v1").order(2); |
|
|
|
|
interceptorRegistry.addInterceptor(new LocalServerLoginAccountsInterceptor(redis, environment, redisLockClient, mockLoginService, suoFeiYaProperties, deliveryNoteService)) |
|
|
|
|
.excludePathPatterns("/logpm-factory-data-suofeiya/order/v1").order(3); |
|
|
|
|
.addPathPatterns("/logpm-factory-data-suofeiya/**") |
|
|
|
|
.excludePathPatterns("/logpm-factory-data-suofeiya/order/v1") |
|
|
|
|
.order(3); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|