From 80790ccc8b8ee6ac8db201f0f6c2d136fefd5a69 Mon Sep 17 00:00:00 2001
From: chenyao <1219716595@qq.com>
Date: Sat, 12 Apr 2025 08:52:59 +0800
Subject: [PATCH] Merge branch 'master' of http://139.196.74.78:10010/r/drone/command-center-dashboard

---
 src/api/home/index.js |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)

diff --git a/src/api/home/index.js b/src/api/home/index.js
index da21b03..7712d6e 100644
--- a/src/api/home/index.js
+++ b/src/api/home/index.js
@@ -107,3 +107,18 @@
 		params: { code },
 	})
 }
+// 立即返航
+export const flyByJobId = jobId => {
+	return request({
+		url: '/drone-device-core/wayline/api/v1/workspaces/flyByJobId?jobId=' + jobId,
+		method: 'get',
+	})
+}
+// 再次执行
+export const returnHome = sn => {
+	return request({
+		url: `/drone-device-core/dp/home/${sn}/drc/returnHome`,
+		method: 'post',
+	})
+}
+

--
Gitblit v1.9.3