2023西安数博会CIM演示-【前端】-Web
AdaKing88
2023-08-21 bc03b832caa49bbcd2674fe4cae3701b5059bf95
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
import request from "@/utils/request";
 
//获取漫游路径
export function getRoamPathList(data) {
  return request({
    url: "/dataapi/scene/roam/path/getRoamPathList?userId=" + data,
    method: "get"
  })
}
 
//删除漫游路径
export function deletePath(data) {
  return request({
    url: "/dataapi/scene/roam/path/delete",
    method: "get",
    params: data
  })
}
 
//保存漫游路径
export function saveOrUpdatePalh(data) {
  return request({
    url: "/dataapi/scene/roam/path/saveOrUpdate",
    method: "post",
    data: data
  })
}
//保存新增批注
export function saveOrUpdateLable(data) {
  return request({
    url: "/dataapi/scene/lable/saveOrUpdate",
    method: "post",
    data: data
  })
}
 
//获取所有批注
export function getLabelList(id) {
  return request({
    url: "/dataapi/scene/lable/getLabelList?userId="+id,
    method: "get",
  })
}
 
//删除所有批注
export function deleteLable(id) {
  return request({
    url: "/dataapi/scene/lable/delete?userId="+id,
    method: "get",
  })
}