jihongshun
9 天以前 262867ad919d0a85fd42e9dd5d9fb2e1c8bb7e3b
src/api/system/template.js
@@ -8,3 +8,35 @@
    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
  });
}