From f5f42e3f785b334c24775d83c7c2be6fd2d9a38e Mon Sep 17 00:00:00 2001
From: 张含笑 <zhx18749296735@163.com>
Date: Thu, 06 Nov 2025 13:50:06 +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