src/api/drc.js
@@ -44,7 +44,7 @@ // 一键返航 export async function returnHome(sn) { return request({ url: `/dp/home/${sn}/drc/returnHome`, url: `/drone-device-core/dp/home/${sn}/drc/returnHome`, method: 'post', }) } @@ -52,7 +52,7 @@ // 取消返航 export async function returnHomeCancel(sn) { return request({ url: `/dp/home/${sn}/drc/returnHomeCancel`, url: `/drone-device-core/dp/home/${sn}/drc/returnHomeCancel`, method: 'post', }) }