From e964e396ce2ebd1f1396908358a2e3125e0b7dbf Mon Sep 17 00:00:00 2001 From: "gao.zhiyuan" Date: Tue, 1 Nov 2022 17:56:54 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=86=E9=A2=91=E5=91=8A=E8=AD=A6=E8=AE=B0?= =?UTF-8?q?=E5=BD=95=E7=9A=84=E8=B7=AF=E7=94=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/app/lib/routes/alarm/index.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/api/app/lib/routes/alarm/index.js b/api/app/lib/routes/alarm/index.js index 9cfcbdd..cfba9d0 100644 --- a/api/app/lib/routes/alarm/index.js +++ b/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 }; 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 }; router.get('/vcmp/auth', videoAlarm.vcmpAppAuthToken); };