From df815639794d2e2781c534fd73a5a9a58d74e213 Mon Sep 17 00:00:00 2001 From: Jian Shen Date: Thu, 26 May 2022 13:38:48 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E8=AF=B7=E6=B1=82=E8=B5=84?= =?UTF-8?q?=E6=BA=90=E4=B8=8D=E5=8F=AF=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../script/temp/shenjian/util/GaoDeUtils.groovy | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/projects/fangjia-script/src/main/groovy/com/fangjia/script/temp/shenjian/util/GaoDeUtils.groovy b/projects/fangjia-script/src/main/groovy/com/fangjia/script/temp/shenjian/util/GaoDeUtils.groovy index b345ef414..9853b7e79 100644 --- a/projects/fangjia-script/src/main/groovy/com/fangjia/script/temp/shenjian/util/GaoDeUtils.groovy +++ b/projects/fangjia-script/src/main/groovy/com/fangjia/script/temp/shenjian/util/GaoDeUtils.groovy @@ -175,7 +175,9 @@ class GaoDeUtils { break; } else if (json && json.infocode && json.infocode == "10017") { // 所请求的资源不可用 - System.exit(1) + //System.exit(1) + Thread.sleep(60000) + break; } else { break } @@ -253,7 +255,8 @@ class GaoDeUtils { Thread.sleep(60000) } else if (json && json.infocode && json.infocode == "10017") { // 所请求的资源不可用 - System.exit(1) + //System.exit(1) + Thread.sleep(60000) } return Collections.emptyList() } @@ -293,7 +296,8 @@ class GaoDeUtils { Thread.sleep(60000) } else if (json && json.infocode && json.infocode == "10017") { // 所请求的资源不可用 - System.exit(1) + //System.exit(1) + Thread.sleep(60000) } return Collections.emptyList() } @@ -350,7 +354,9 @@ class GaoDeUtils { break; } else if (json && json.infocode && json.infocode == "10017") { // 所请求的资源不可用 - System.exit(1) + //System.exit(1) + Thread.sleep(60000) + break; } } return result