fix 全量备份超时报错

master
luoyang 5 years ago
parent 8c32b331ad
commit 52fda84527

@ -10,7 +10,7 @@
<modelVersion>4.0.0</modelVersion>
<artifactId>manage</artifactId>
<version>1.0.27</version>
<version>1.0.28</version>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

@ -129,6 +129,7 @@ public class AliforexcelServiceImpl implements AliforexcelService {
lessInfoMerchant.add(exception);
continue;
}
try {
AlipayConfig.AlipayMerchant mch = AlipayEnvironment.getEnv().getAlipayOnlineMerchant();
Element resultElement = alipayClient.registerOnlineGmsPortal(mch.getPid(), client);
if (!StringUtils.equalsIgnoreCase("T", resultElement.elementText("is_success"))) {
@ -147,6 +148,12 @@ public class AliforexcelServiceImpl implements AliforexcelService {
continue;
}
registerSuccessMerchant.add(client.getString("client_moniker"));
} catch (Exception e) {
JSONObject exception = new JSONObject();
exception.put("client_moniker", client.getString("client_moniker"));
exception.put("return_msg", e.getMessage());
registerFailMerchant.add(exception);
}
}
result.put("need_register_merchant", needRegisterMerchant);
result.put("success_register_merchant", registerSuccessMerchant);

Loading…
Cancel
Save