From 09a0617bda210d22b09a5519feb3fe770dadfbab Mon Sep 17 00:00:00 2001
From: hanbaoshan <hanbaoshan@aiotlink.com>
Date: 星期二, 24 十一月 2020 18:49:38 +0800
Subject: [PATCH] yolo类大图人脸抓拍详情添加分析服务器名称显示

---
 src/api/camera.ts |   49 +++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 49 insertions(+), 0 deletions(-)

diff --git a/src/api/camera.ts b/src/api/camera.ts
index 47dafc8..4705f56 100644
--- a/src/api/camera.ts
+++ b/src/api/camera.ts
@@ -140,4 +140,53 @@
     data: params
   });
 };
+//
+//鏌ユ壘鎵�鏈�(澶氳竟褰�)鍖哄煙
+export const findAllPolygons = () => {
+  return request({
+    url: "/data/api-v/polygon/findAll",
+    method: "get"
+  })
+}
+//鏌ユ壘鎵�鏈�(灞曞尯)鍖哄煙
+export const getAllAreas = () => {
+  return request({
+    url: "/data/api-v/acp/findAll",
+    method: "get"
+  })
+}
+//鍒犻櫎(灞曞尯)
+export const delArea = (data:any) => {
+  return request({
+    url: "/data/api-v/acp/delete",
+    method: "post",
+    data
+  })
+}
 
+//淇濆瓨鍖哄煙缂栬緫
+export const saveAreaInfo = (data:any) => {
+  return request({
+    url: "/data/api-v/acp/save",
+    method: "post",
+    data
+  })
+}
+
+//鑾峰彇鎽勫儚鏈虹殑鍧愭爣鏍囧畾淇℃伅
+export const getCameraMarks = (query:any) => {
+  return request({
+    url: '/data/api-v/camera/coord',
+    method: "get",
+    params: query
+  })
+}
+
+//鏇存柊鎽勫儚鏈虹殑鍧愭爣鏍囧畾淇℃伅
+export const updateCameraMarks = (data:any) => {
+  return request({
+    url: '/data/api-v/camera/updateCoord',
+    method: 'post',
+    data
+  })
+}
\ No newline at end of file

--
Gitblit v1.8.0