From 6f5336ab50c25e8a4a8c4df7ec703a0dfa418583 Mon Sep 17 00:00:00 2001
From: zhouwx <1175765986@qq.com>
Date: Mon, 13 Jan 2025 15:14:11 +0800
Subject: [PATCH] 修改
---
src/api/systemManage/user/index.ts | 17 ++++++++++++++++-
1 files changed, 16 insertions(+), 1 deletions(-)
diff --git a/src/api/systemManage/user/index.ts b/src/api/systemManage/user/index.ts
index 17c5453..d748f5d 100644
--- a/src/api/systemManage/user/index.ts
+++ b/src/api/systemManage/user/index.ts
@@ -69,6 +69,21 @@
url: import.meta.env.VITE_API_URL + `/account/list`,
method: 'get'
});
- }
+ },
+
+ modPwd: (data: object) => {
+ return request({
+ url: import.meta.env.VITE_API_URL + `/account/user/update/password`,
+ method: 'post',
+ data: data
+ });
+ },
+ resetPwd: (data: object) => {
+ return request({
+ url: import.meta.env.VITE_API_URL + `/account/user/update/resetPassword`,
+ method: 'post',
+ data: data
+ });
+ },
};
}
--
Gitblit v1.9.2