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 |   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