This commit is contained in:
mmc
2026-05-22 15:03:43 +08:00
parent e1d11a69d8
commit 92484fc942
3 changed files with 13 additions and 3 deletions

View File

@@ -122,7 +122,7 @@ export function postFlightCommmand(data) {
//切换相机
export function changeCamera(data) {
export function changeCameragateway(data) {
return request({
url: '/iot/UAV/changeCamera',
method: 'post',
@@ -130,6 +130,15 @@ export function changeCamera(data) {
})
}
//切换飞机摄像头/iot/UAV/changeLens
export function changeCameraPlane(data) {
return request({
url: '/iot/UAV/changeLens',
method: 'post',
data
})
}
//直播心跳
export function postLiveHeartbeat(data) {