From 8f643b3c501a2f3e89f012aa3426896a54271016 Mon Sep 17 00:00:00 2001 From: baoshiwei <baoshiwei@shlanbao.cn> Date: 星期五, 11 七月 2025 10:04:49 +0800 Subject: [PATCH] refactor(web-antd):调整代码结构并优化组件导入 --- eims-ui-mobile/src/service/app/user.ts | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/eims-ui-mobile/src/service/app/user.ts b/eims-ui-mobile/src/service/app/user.ts index 2474272..c02287b 100644 --- a/eims-ui-mobile/src/service/app/user.ts +++ b/eims-ui-mobile/src/service/app/user.ts @@ -148,3 +148,14 @@ ...(options || {}), }); } + +/** 淇敼瀵嗙爜 POST /system/user/profile/updatePwd */ +export async function updatePassword(oldPassword: string, newPassword: string) { + return request<unknown>('/system/user/profile/updatePwd', { + method: 'PUT', + data: { + oldPassword, + newPassword, + }, + }); +} -- Gitblit v1.9.3