|
|
@@ -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); |
|
|
|