From 417c46988366e8c11f54230345f2e6840a0025f7 Mon Sep 17 00:00:00 2001 From: jihongshun <1151753686@qq.com> Date: 星期三, 16 七月 2025 16:43:00 +0800 Subject: [PATCH] 项目相关 --- src/api/system/template.js | 24 ++++++++++++++++++++++++ 1 files changed, 24 insertions(+), 0 deletions(-) diff --git a/src/api/system/template.js b/src/api/system/template.js index 9d0387a..9354c60 100644 --- a/src/api/system/template.js +++ b/src/api/system/template.js @@ -8,3 +8,27 @@ 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' + }); +} -- Gitblit v1.9.3