|
|
|
@ -92,7 +92,7 @@ public class PushDataToWechatTask {
|
|
|
|
|
private void pushDeviceArmParams(Map<String, Object> map, PushMsgEntity pushMsgEntity, AlarmRecords alarmRecords2) { |
|
|
|
|
pushMsgEntity.setTouser(map.get("open_id").toString()); |
|
|
|
|
pushMsgEntity.setTemplateId(map.get("template_id").toString()); |
|
|
|
|
pushMsgEntity.setUrl("http://jnd2.mhwsh.net:8765/"); |
|
|
|
|
pushMsgEntity.setUrl("http://bajnd.mhwsh.net:9090/"); |
|
|
|
|
First first = new First(); |
|
|
|
|
first.setValue("设备告警通知"); |
|
|
|
|
pushMsgEntity.setFirst(first); |
|
|
|
@ -135,7 +135,7 @@ public class PushDataToWechatTask {
|
|
|
|
|
private void pushDeviceExceptionParams(Map<String, Object> map, PushMsgEntity pushMsgEntity, AlarmRecords alarmRecords2) { |
|
|
|
|
pushMsgEntity.setTouser(map.get("open_id").toString()); |
|
|
|
|
pushMsgEntity.setTemplateId(map.get("template_id").toString()); |
|
|
|
|
pushMsgEntity.setUrl("http://jnd2.mhwsh.net:8765/"); |
|
|
|
|
pushMsgEntity.setUrl("http://bajnd.mhwsh.net:9090/"); |
|
|
|
|
First first = new First(); |
|
|
|
|
first.setValue("设备异常告警提醒"); |
|
|
|
|
pushMsgEntity.setFirst(first); |
|
|
|
|