Browse Source

视频告警记录的路由

dev
巴林闲侠 2 years ago
parent
commit
e964e396ce
  1. 3
      api/app/lib/routes/alarm/index.js

3
api/app/lib/routes/alarm/index.js

@ -55,6 +55,9 @@ module.exports = function (app, router, opts) {
app.fs.api.logAttr['PUT/alarm/video/confirm'] = { content: '确认视频告警信息', visible: true }; app.fs.api.logAttr['PUT/alarm/video/confirm'] = { content: '确认视频告警信息', visible: true };
router.put('/alarm/video/confirm', videoAlarm.confirm); router.put('/alarm/video/confirm', videoAlarm.confirm);
app.fs.api.logAttr['POST/alarm/video/added_log'] = { content: '新增视频告警记录', visible: true };
router.post('/alarm/video/added_log', videoAlarm.alarmAdded);
app.fs.api.logAttr['GET/vcmp/auth'] = { content: '获取视频平台应用鉴权token', visible: true }; app.fs.api.logAttr['GET/vcmp/auth'] = { content: '获取视频平台应用鉴权token', visible: true };
router.get('/vcmp/auth', videoAlarm.vcmpAppAuthToken); router.get('/vcmp/auth', videoAlarm.vcmpAppAuthToken);
}; };

Loading…
Cancel
Save