hanbaoshan
2020-10-27 1e84774c0c0752c61e60592e7f7fc1c0d25a1dab
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
import request from "@/scripts/httpRequest";
 
export const getAllPolygon = (query: any) => {
  return request({
    url: "/data/api-v/polygon/findByCameraId",
    method: "get",
    params: query
  });
};
 
export const deletePolygon = (query: any) => {
  return request({
    url: "/data/api-v/polygon/delete",
    method: "get",
    params: query
  });
};
 
export const savePolygon = (params: any) => {
  return request({
    url: "/data/api-v/polygon/save",
    method: "post",
    data: params
  });
};