src/api/payload.js
@@ -44,7 +44,7 @@ // 拍照和录像 export async function callPhotoAndVideoCmd(sn, type) { return await request({ url:`/drone-device-core/droneAirport/liveStreamApi/${sn}/payload/photoAndVideoCmd/${type}`, url:`${API_PREFIX}/devices/${sn}/payload/photoAndVideoCmd/${type}`, method:'get', }) } @@ -132,4 +132,14 @@ }; // 无人机开启ai export const getLiveAiLinkApi = (data) => { return request({ url:`/drone-device-core/manage/api/v1/live/streams/start/ai`, method: 'post', data, }); };