Parcourir la source

发送短信给现场练联系人

hu il y a 4 ans
Parent
commit
300ff6d2bc
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      src/apps/hyworkorder/hyworkorder.java

+ 2 - 2
src/apps/hyworkorder/hyworkorder.java

@@ -254,7 +254,7 @@ public class hyworkorder extends PaoCust {
 						org.json.JSONObject jsonObject = new org.json.JSONObject();
 						jsonObject.put("account", "N3147701");
 						jsonObject.put("password", "4ClGyab6fv6a87");
-						jsonObject.put("msg", "【Banninger】工单号:" + getString("FWORKNUM") + "已创建,请处理,工单查询链接:" + "1234");
+						jsonObject.put("msg", "【Banninger】工单号:" + getString("FWORKNUM") + "已创建,请处理,工单查询链接:" + "http://122.226.136.204:8082/BGJ/tz/tripList.html?id="+getString("SCENEPHONE"));
 						jsonObject.put("phone", getString("SCENEPHONE"));
 						rest.addRawBody(jsonObject.toString());
 						String s = rest.post();
@@ -262,7 +262,7 @@ public class hyworkorder extends PaoCust {
 								P2Server.getP2Server().getSystemUserInfo());
 						PaoRemote remote = verCodehistory.addAtEnd();
 						remote.setValue("phone", getString("SCENEPHONE"));
-						remote.setValue("msg", "【Banninger】工单号:" + getString("FWORKNUM") + "已创建,请处理,工单查询链接:" + "1234");
+						remote.setValue("msg", "【Banninger】工单号:" + getString("FWORKNUM") + "已创建,请处理,工单查询链接:" + "http://122.226.136.204:8082/BGJ/tz/tripList.html?id="+getString("SCENEPHONE"));
 						remote.setValue("content", s);
 						verCodehistory.save();
 					} catch (Exception e) {