From 9d22ed07aea07601c527188ff9e5d2b38dab149e Mon Sep 17 00:00:00 2001 From: mark <mark18340872469@163.com> Date: 星期五, 30 九月 2022 14:50:32 +0800 Subject: [PATCH] 总开关 先不上 --- src/api/report.ts | 34 ++++++++++++++++++++++++++++++++++ 1 files changed, 34 insertions(+), 0 deletions(-) diff --git a/src/api/report.ts b/src/api/report.ts index de6e152..f949b4d 100644 --- a/src/api/report.ts +++ b/src/api/report.ts @@ -124,6 +124,14 @@ 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({ @@ -132,3 +140,29 @@ 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