From 2b02b3deb2ed3ca414304f69a84853549b00e354 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B2=88=E5=81=A5?= Date: Mon, 23 Jun 2025 09:37:26 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B3=A8=E9=87=8A=E7=9F=AD=E4=BF=A1=E6=8E=A5?= =?UTF-8?q?=E6=94=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/fangjia/script/BaseBatch.groovy | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/projects/fangjia-script/src/main/groovy/com/fangjia/script/BaseBatch.groovy b/projects/fangjia-script/src/main/groovy/com/fangjia/script/BaseBatch.groovy index baf3e6040..183a4ccf9 100644 --- a/projects/fangjia-script/src/main/groovy/com/fangjia/script/BaseBatch.groovy +++ b/projects/fangjia-script/src/main/groovy/com/fangjia/script/BaseBatch.groovy @@ -114,16 +114,16 @@ abstract class BaseBatch { if(SystemUtils.IS_OS_LINUX){ sendDingDingMsg("ae14f50045e9375c354940a2afb86f14e453bd1f08f78da0ba6e788d35bccec4",msg, phoneNum) - try { - Map params = new HashMap(); - params.put("phone", "13764369683"); - params.put("type", "taskFail"); - params.put("msg", batchName.substring(batchName.length() - 20, batchName.length())); - HttpRequest httpRequest = new HttpRequest(); - httpRequest.get("http://didata-cloud-server.fangjia.com/sms/send", params, "utf-8"); - } catch (Exception ex) { - - } +// try { +// Map params = new HashMap(); +// params.put("phone", "13764369683"); +// params.put("type", "taskFail"); +// params.put("msg", batchName.substring(batchName.length() - 20, batchName.length())); +// HttpRequest httpRequest = new HttpRequest(); +// httpRequest.get("http://didata-cloud-server.fangjia.com/sms/send", params, "utf-8"); +// } catch (Exception ex) { +// +// } task.exception = msg.toString() }