获取单个无人机详情

This commit is contained in:
mmc
2026-05-27 15:08:26 +08:00
parent 50f7a96751
commit 2ab9e3715a
6 changed files with 194 additions and 46 deletions

View File

@@ -97,6 +97,15 @@ export function loginApi(data) {
// 可视化面板获取无人机信息
// 获取无人机实时状态详情
export function getUAVState(params) {
return api({
url: '/iot/device/getUAVState',
method: 'get',
params
})
}
// 获取所有航线

View File

@@ -40,6 +40,15 @@ export function getControlRight(params) {
})
}
// 获取无人机实时状态详情
export function getUAVState(params) {
return request({
url: '/iot/UAV/getUAVState',
method: 'get',
params
})
}
// 远程遥控 判断是否有权限/forward/device/remoteControl platform:web
export function getJurisdiction(data) {
return request({
@@ -215,13 +224,3 @@ export function getAllDevice(data) {
})
}
//根据单个机场获取信息/iot/device/getUAVState
export function getSingleUAV(data) {
return request({
url: `/iot/device/getUAVState`,
method: 'get',
params: data
})
}