From 91cc1c09b056ffd630fd4b699cda3d63e18b1ff6 Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Tue, 28 Oct 2025 17:00:42 +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