From b7b10f78abc7ba462e5c602ba7e70d4739e316b8 Mon Sep 17 00:00:00 2001
From: baoshiwei <baoshiwei@shlanbao.cn>
Date: 星期二, 24 六月 2025 09:00:39 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/main'

---
 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