From 965e92b958ebc50dc7d475da9e198f135091f93f Mon Sep 17 00:00:00 2001
From: 张含笑 <zhx18749296735@163.com>
Date: Wed, 22 Oct 2025 13:45:38 +0800
Subject: [PATCH] feat:我的

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

diff --git a/src/api/user/index.js b/src/api/user/index.js
index 82da79f..e5392f7 100644
--- a/src/api/user/index.js
+++ b/src/api/user/index.js
@@ -45,3 +45,27 @@
     },
   })
 }
+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,
+    },
+  });
+};
\ No newline at end of file

--
Gitblit v1.9.3