From 75acb049cf36dbc55006e2476f790765c65dfd51 Mon Sep 17 00:00:00 2001
From: zhongrj <646384940@qq.com>
Date: Mon, 06 Jan 2025 11:26:09 +0800
Subject: [PATCH] gsd 参数名修改
---
src/api/device/device.js | 26 ++++++++++++++++++++++++++
1 files changed, 26 insertions(+), 0 deletions(-)
diff --git a/src/api/device/device.js b/src/api/device/device.js
index 548913a..cd84c9a 100644
--- a/src/api/device/device.js
+++ b/src/api/device/device.js
@@ -38,6 +38,14 @@
});
};
+export const operatePasswordUpdate = row => {
+ return request({
+ url: '/drone-yw/manage/api/v1/devices/operatePasswordUpdate',
+ method: 'post',
+ data: row,
+ });
+};
+
export const getDetail = id => {
return request({
url: '/drone-yw/manage/api/v1/devices/getDetail',
@@ -47,6 +55,17 @@
},
});
};
+
+export const getOperatePassword = id => {
+ return request({
+ url: '/drone-yw/manage/api/v1/devices/getFlyOperatePassword',
+ method: 'get',
+ params: {
+ id,
+ },
+ });
+};
+
export const getDeviceUpgradeInfo = (params) => {
@@ -103,4 +122,11 @@
ids
}
});
+};
+
+export const getDevices = (workspace_id,device_sn) => {
+ return request({
+ url: `/drone-yw/manage/api/v1/devices/${workspace_id}/devices/${device_sn}`,
+ method: 'get',
+ });
};
\ No newline at end of file
--
Gitblit v1.9.3