From 8f436e8f6ff26083e5f5c07b39eb1581772a32b7 Mon Sep 17 00:00:00 2001
From: 罗广辉 <guanghui.luo@foxmail.com>
Date: Thu, 17 Apr 2025 11:07:53 +0800
Subject: [PATCH] feat: 无人机控制调整
---
src/api/payload.js | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/src/api/payload.js b/src/api/payload.js
index 06cc937..ed91d52 100644
--- a/src/api/payload.js
+++ b/src/api/payload.js
@@ -23,10 +23,11 @@
return await request.post(`${API_PREFIX}/devices/${sn}/payload/commands`, body, config)
}
+
// 拍照和录像
export async function callPhotoAndVideoCmd(sn, type) {
return await request({
- url:`/droneAirport/liveStreamApi/${sn}/payload/photoAndVideoCmd/${type}`,
+ url:`/drone-device-core/droneAirport/liveStreamApi/${sn}/payload/photoAndVideoCmd/${type}`,
method:'get',
})
}
--
Gitblit v1.9.3