Commit dbb5b528 authored by xinglei's avatar xinglei

*)修改确警消息为系统消息

parent d1b08819
...@@ -31,7 +31,7 @@ public class RuleConfirmAlarmService { ...@@ -31,7 +31,7 @@ public class RuleConfirmAlarmService {
* 警情确认 * 警情确认
*/ */
public Boolean confirmAlam(IotSystemAlarmRo iotSystemAlarmRo, String appKey, String product, String token) throws Exception { public Boolean confirmAlam(IotSystemAlarmRo iotSystemAlarmRo, String appKey, String product, String token) throws Exception {
iotSystemAlarmRo.setCategory(1); iotSystemAlarmRo.setCategory(2); // 系统消息
iotSystemAlarmRo.setRelationId(String.valueOf(iotSystemAlarmRo.getId())); iotSystemAlarmRo.setRelationId(String.valueOf(iotSystemAlarmRo.getId()));
iotSystemAlarmRo.setTerminal("WEB"); iotSystemAlarmRo.setTerminal("WEB");
iotSystemAlarmRo.setMsgType(msgType); iotSystemAlarmRo.setMsgType(msgType);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment