Browse Source

1.测试环境 欧派推送发车单接口鉴权取消

newStockUp
zhenghaoyu 1 year ago
parent
commit
e1ef910181
  1. 3
      blade-service/logpm-factory/src/main/java/com/logpm/factory/config/InterceptorAdapterConfig.java

3
blade-service/logpm-factory/src/main/java/com/logpm/factory/config/InterceptorAdapterConfig.java

@ -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/**");
}
}

Loading…
Cancel
Save