|
|
@ -76,10 +76,11 @@ public class SuperviseWxMessSender { |
|
|
|
// String pagepath = jgsjzl_pagepath.replace("ORDER_DATE", orderDate).replace("PROJECT_SID", projectSid);?
|
|
|
|
String pagepath ="pages/index/DeviceException"+"?sid"+messSid; |
|
|
|
HashMap<String, String> data = new HashMap<>(); |
|
|
|
data.put("time1", reportTime); |
|
|
|
data.put("thing2", projectName); |
|
|
|
String thing2 = projectName +"监控设备异常"; |
|
|
|
data.put("thing2", maxLength20(thing2)); |
|
|
|
data.put("thing3", sender); |
|
|
|
data.put("thing3", maxLength20(thing2)); |
|
|
|
data.put("time4", reportTime); |
|
|
|
data.put("thing5", "监控设备异常"); |
|
|
|
// String thing2 = projectName;
|
|
|
|
// data.put("thing4", maxLength20(thing2));
|
|
|
|
// data.put("const2", reportTime);
|
|
|
@ -87,7 +88,7 @@ public class SuperviseWxMessSender { |
|
|
|
// data.put("character_string5", "");
|
|
|
|
// data.put("time1", reportTime);
|
|
|
|
for(String touser:tousers){ |
|
|
|
respMessReturn = WxMessage.sendMessage(jgsjzl_template_id, touser, pagepath, data); |
|
|
|
respMessReturn = WxMessage.sendMessage("xwFrrZ4gkdWXu0fB4l2S5yYU91PEu6gBg9FbtdS3G4A", touser, pagepath, data); |
|
|
|
} |
|
|
|
RiskMessagesLogDto logDto=new RiskMessagesLogDto(); |
|
|
|
logDto.setContent(data); |
|
|
@ -112,10 +113,11 @@ public class SuperviseWxMessSender { |
|
|
|
String pagepath = ""; |
|
|
|
// String pagepath = "";
|
|
|
|
HashMap<String, String> data = new HashMap<>(); |
|
|
|
data.put("time1", reportTime); |
|
|
|
String thing2 = projectName+"图片对比异常"; |
|
|
|
data.put("thing2", maxLength20(thing2)); |
|
|
|
data.put("thing3", sender); |
|
|
|
data.put("thing2", projectName); |
|
|
|
String thing2 = projectName+"图片比对异常"; |
|
|
|
data.put("thing3", maxLength20(thing2)); |
|
|
|
data.put("time4", reportTime); |
|
|
|
data.put("thing5", "图片比对异常"); |
|
|
|
// String thing2 = projectName;
|
|
|
|
// data.put("thing4", maxLength20(thing2));
|
|
|
|
// data.put("const2", reportTime);
|
|
|
@ -123,7 +125,7 @@ public class SuperviseWxMessSender { |
|
|
|
// data.put("character_string5", "");
|
|
|
|
// data.put("time1", reportTime);
|
|
|
|
for(String touser:tousers){ |
|
|
|
respMessReturn = WxMessage.sendMessage(jgsjzl_template_id, touser, pagepath, data); |
|
|
|
respMessReturn = WxMessage.sendMessage("xwFrrZ4gkdWXu0fB4l2S5yYU91PEu6gBg9FbtdS3G4A", touser, pagepath, data); |
|
|
|
} |
|
|
|
ImgMessagesLogDto logDto=new ImgMessagesLogDto(); |
|
|
|
logDto.setContent(data); |
|
|
|