From 08fcc710d0a2acb185b3477d72fe32aff6f2e29a Mon Sep 17 00:00:00 2001
From: chenyao <1219716595@qq.com>
Date: Mon, 01 Dec 2025 16:23:03 +0800
Subject: [PATCH] feat:增加ws连接状态

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

diff --git a/src/api/user/index.js b/src/api/user/index.js
index 82da79f..7597dc1 100644
--- a/src/api/user/index.js
+++ b/src/api/user/index.js
@@ -45,3 +45,36 @@
     },
   })
 }
+export const getUserInfo = () => {
+  return request({
+    url: '/blade-system/user/info',
+    method: 'get',
+  });
+};
+export const updateInfo = row => {
+  return request({
+    url: '/blade-system/user/update-info',
+    method: 'post',
+    data: row,
+  });
+};
+export const updatePassword = (oldPassword, newPassword, newPassword1) => {
+  return request({
+    url: '/blade-system/user/update-password',
+    method: 'post',
+    params: {
+      oldPassword,
+      newPassword,
+      newPassword1,
+    },
+  });
+};
+
+// 发送通话信息
+export const sendVoiceCallApi = (data) => {
+  return request({
+    url: `/drone-device-core/dp/call/sendVoiceCall`,
+    method: 'post',
+    data
+  })
+}

--
Gitblit v1.9.3