From 88d6488825e42e6b49abb20c2364671a62b3333d Mon Sep 17 00:00:00 2001
From: hanbaoshan <hanbaoshan@aiotlink.com>
Date: 星期五, 06 十一月 2020 10:31:41 +0800
Subject: [PATCH] 摄像机标注获取/更新及相关校验

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

diff --git a/src/api/camera.ts b/src/api/camera.ts
index f7d7cc6..4705f56 100644
--- a/src/api/camera.ts
+++ b/src/api/camera.ts
@@ -171,4 +171,22 @@
     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