优化结果返回

2.x
tanghc 5 years ago
parent 0774e52cc9
commit a12f08a485
  1. 2
      sop-common/sop-gateway-common/src/main/java/com/gitee/sop/gatewaycommon/result/BaseExecutorAdapter.java

@ -261,7 +261,7 @@ public abstract class BaseExecutorAdapter<T, R> implements ResultExecutor<T, R>
return null; return null;
} }
Isv isvInfo = isvManager.getIsv(appKey); Isv isvInfo = isvManager.getIsv(appKey);
String privateKeyPlatform = isvInfo.getPrivateKeyPlatform(); String privateKeyPlatform = isvInfo == null ? null : isvInfo.getPrivateKeyPlatform();
if (StringUtils.isEmpty(privateKeyPlatform)) { if (StringUtils.isEmpty(privateKeyPlatform)) {
return null; return null;
} }

Loading…
Cancel
Save