From ced3313bad76cf95d86dcf23f25ea3b143e09290 Mon Sep 17 00:00:00 2001
From: zrj <646384940@qq.com>
Date: Thu, 29 Aug 2024 20:46:42 +0800
Subject: [PATCH] Merge branch 'master' of http://139.196.74.78:10010/r/drone/drone-web-manage

---
 src/api/device/device.js |   19 +++++++++++++++++++
 1 files changed, 19 insertions(+), 0 deletions(-)

diff --git a/src/api/device/device.js b/src/api/device/device.js
index 548913a..cd9fd85 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',
@@ -48,6 +56,17 @@
   });
 };
 
+export const getOperatePassword = id => {
+  return request({
+    url: '/drone-yw/manage/api/v1/devices/getFlyOperatePassword',
+    method: 'get',
+    params: {
+      id,
+    },
+  });
+};
+
+
 
 export const getDeviceUpgradeInfo = (params) => {
   return request({

--
Gitblit v1.9.3