Browse Source

事项基本信息IRS接口超时重试日志打印

master
CMM 3 months ago
parent
commit
3f38ab99be
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      kq-vas-api/src/main/java/com/ningdatech/kqapi/irs/manage/IrsManage.java

+ 1
- 0
kq-vas-api/src/main/java/com/ningdatech/kqapi/irs/manage/IrsManage.java View File

@@ -125,6 +125,7 @@ public class IrsManage {
if (responseBody.contains("Read timed out")){
int retries = 3;
for (int i = 0; i < retries; i++) {
log.info("第{}次重试中......", i + 1);
// 重新设置签名和时间戳
long timestamp = System.currentTimeMillis();
String sign = MD5.create().digestHex(appKey + appSecret + timestamp);


Loading…
Cancel
Save