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