From 2ec95b3d2fd484b44d5274054bcbd78307a76ef8 Mon Sep 17 00:00:00 2001 From: mark <mark18340872469@163.com> Date: 星期五, 30 九月 2022 14:04:12 +0800 Subject: [PATCH] 报警推送日志 --- src/api/report.ts | 62 +++++++++++++++++++++++++++++++ 1 files changed, 62 insertions(+), 0 deletions(-) diff --git a/src/api/report.ts b/src/api/report.ts index 4d1424a..f949b4d 100644 --- a/src/api/report.ts +++ b/src/api/report.ts @@ -104,3 +104,65 @@ params: query }) } +/** + * + * 鐐逛綅淇℃伅缁存姢 +鏌ヨ + */ +export const camerasList = (query: any) => { + return request({ + url: "/api-a/v1/cameras/list", + method: "get", + params: query + }) +} +//娣诲姞鐐逛綅 +export const camerasCreate = (query: any) => { + return request({ + url: "/api-a/v1/cameras/create", + method: "post", + data: query + }) +} +// 缂栬緫 +export const camerasUpdate = (query: any) => { + return request({ + url: "/api-a/v1/cameras/update", + method: "post", + data: query + }) +} +//鍒犻櫎 +export const camerasDelete = (query: any) => { + return request({ + url: "/api-a/v1/cameras/delete", + method: "get", + params: query + }) +} +// 鎬诲紑鍏崇殑鏀瑰彉 +export const camerasSwitch = (query: any) => { + return request({ + url: "/api-a/v1/cameras/switch", + method: "get", + params: query + }) +} +// 鎬诲紑鍏崇殑鐘舵�� +export const camerasConfig = () => { + return request({ + url: "/api-a/v1/cameras/config", + method: "get" + }) +} +/** + * + * 鎶ヨ鎺ㄩ�佹棩蹇� + */ +export const camerasReportLog = (query: any) => { + return request({ + url: "/api-a/v1/cameras/reportLog", + method: "get", + params: query + }) +} -- Gitblit v1.8.0