From 959895b80e8915cacb17e4f36830254c6c271572 Mon Sep 17 00:00:00 2001
From: heyujie <516346543@qq.com>
Date: 星期二, 16 三月 2021 18:32:22 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.5.5:10010/r/vue-smart-ai
---
src/api/camera.ts | 27 ++++++++++++++++++++++++++-
1 files changed, 26 insertions(+), 1 deletions(-)
diff --git a/src/api/camera.ts b/src/api/camera.ts
index 4705f56..e830ecf 100644
--- a/src/api/camera.ts
+++ b/src/api/camera.ts
@@ -189,4 +189,29 @@
method: 'post',
data
})
-}
\ No newline at end of file
+}
+
+//淇濆瓨鎽勫儚鏈哄垎缁�
+export const saveCameraGroupInfo = (data:any) => {
+ return request({
+ url: '/data/api-v/camera/group/save',
+ method: 'post',
+ data
+ })
+}
+
+//鏌ヨ鎽勫儚鏈哄垎缁勪俊鎭�
+export const findCameraGroups = () => {
+ return request({
+ url: '/data/api-v/camera/group/findAll',
+ method: 'get'
+ })
+}
+
+export const delCameraGroup = (groupId:string)=>{
+ return request({
+ url:'/data/api-v/camera/group/del?groupId='+groupId,
+ method: 'post'
+ })
+}
+
--
Gitblit v1.8.0