jihongshun
10 天以前 417c46988366e8c11f54230345f2e6840a0025f7
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
import request from '@/utils/request';
 
// 新增拍摄航线模版
export function addPoint(data) {
  return request({
    url: '/tower/point',
    method: 'post',
    data: data
  });
}
 
// 查询参数详细
export function getPointInfo(id) {
  return request({
    url: '/tower/point/' + id,
    method: 'get'
  });
}
 
// 根据设备di获取设备的飞行航线模版
export function obtainRealData(flightTemplateId, deviceId) {
  return request({
    url: `/tower/route/getTrueBearing/${flightTemplateId}/${deviceId}`,
    method: 'get'
  });
}
 
// 根据设备di获取设备的飞行航线模版
export function flyDataInfo(deviceId) {
  return request({
    url: '/tower/point/device/' + deviceId,
    method: 'get'
  });
}