| | |
| | | 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' |
| | | }); |
| | | } |
| | | |
| | | export function buildKmz(data) { |
| | | return request({ |
| | | url: '/buildKmz', |
| | | method: 'post', |
| | | data: data |
| | | }); |
| | | } |