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', }) }