Browse Source

(*)告警确认消息推送测试

dev
wuqun 2 years ago
parent
commit
e2628098ed
  1. 2
      api/.vscode/launch.json
  2. 3
      api/app/lib/controllers/alarm/alarmConfirmLog.js

2
api/.vscode/launch.json

@ -56,7 +56,7 @@
// "--clickHouseDataAlarm default",
//
"--clickHouseAnxincloud Anxinyun22",
"--clickHouseAnxincloud Anxinyun23",
"--clickHousePepEmis pepca8",
"--clickHouseProjectManage peppm8",
"--clickHouseVcmp video_access_dev",

3
api/app/lib/controllers/alarm/alarmConfirmLog.js

@ -32,7 +32,8 @@ async function alarmConfirmLog(ctx, confirmPost, content) {
})
await models.LatestDynamicList.bulkCreate(dynamics);
//TODO 消息推送到前端
//消息推送到前端
//ctx.app.socket.emit('TEST', { someProperty: '【广播】呼叫青铜时代号!!!', })
} catch (error) {

Loading…
Cancel
Save