From 77ea6f71e7532e89b974bcb65ce5a6b67a680ddb Mon Sep 17 00:00:00 2001 From: hanbaoshan <hanbaoshan@aiotlink.com> Date: 星期四, 25 二月 2021 17:35:12 +0800 Subject: [PATCH] 朔黄标注编辑后检索数据同步更新;头部模拟用户名头像 --- 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