zhangzengfei
2022-12-30 804d59e162b72be684d0087a8cd74dbd6fecbf4d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import request from "@/scripts/httpRequest"
 
export const getConfig = () => {
  return request({
    url: "/data/api-v/projection/getConfig",
    method: "get"
  })
}
 
export const saveConfig = (query: any) => {
  return request({
    url: "/data/api-v/projection/setConfig",
    method: "post",
    data: query
  })
}
 
export const uploadPic = (data: any) =>
  request({
    url: "/data/api-v/projection/upload",
    method: "post",
    data
  })