Browse Source

feat(all): 索菲亚工厂

1 增加华之韵物流对接
pre-production
zhaoqiaobo 3 weeks ago
parent
commit
1cf2b0593e
  1. 2
      blade-service/logpm-factory-data/logpm-factory-data-suofeiya/src/main/java/com/logpm/factorydata/suofeiya/interceptor/LocalServerLoginAccountsInterceptor.java

2
blade-service/logpm-factory-data/logpm-factory-data-suofeiya/src/main/java/com/logpm/factorydata/suofeiya/interceptor/LocalServerLoginAccountsInterceptor.java

@ -103,7 +103,7 @@ public class LocalServerLoginAccountsInterceptor extends HandlerInterceptorAdapt
String tenantId = "627683"; String tenantId = "627683";
String authorizationHeader = "bG9jYWw6bG9jYWxfc2VjcmV0"; String authorizationHeader = "bG9jYWw6bG9jYWxfc2VjcmV0";
if (StringUtil.isNotBlank(companyCode)) { if (StringUtil.isNotBlank(companyCode)) {
FactoryAuthVO authVO = deliveryNoteService.findFactoryAuth(companyCode); FactoryAuthVO authVO = deliveryNoteService.findFactoryAuthByTenantCode(companyCode);
if (ObjectUtil.isNotEmpty(authVO)) { if (ObjectUtil.isNotEmpty(authVO)) {
account = authVO.getLoginAccount(); account = authVO.getLoginAccount();
tenantId = authVO.getTenantCode(); tenantId = authVO.getTenantCode();

Loading…
Cancel
Save