修复WVP作为下级平台接收设备告警消息后上报上级平台的问题

This commit is contained in:
gaofw189
2023-02-03 14:35:44 +08:00
parent e5b1876012
commit 40ece192fe
5 changed files with 27 additions and 28 deletions

View File

@@ -827,7 +827,7 @@ public class RedisCatchStorageImpl implements IRedisCatchStorage {
@Override
public void sendAlarmMsg(AlarmChannelMessage msg) {
String key = VideoManagerConstants.VM_MSG_SUBSCRIBE_ALARM;
String key = VideoManagerConstants.VM_MSG_SUBSCRIBE_ALARM_RECEIVE;
logger.info("[redis发送通知] 报警{}: {}", key, JSON.toJSON(msg));
RedisUtil.convertAndSend(key, (JSONObject)JSON.toJSON(msg));
}