From b3cfcdd210536fa672b36e37b0f54bb9c4e98ada Mon Sep 17 00:00:00 2001
From: baoshiwei <baoshiwei@shlanbao.cn>
Date: 星期五, 20 六月 2025 14:22:13 +0800
Subject: [PATCH] feat(tabbar): 二维码扫描功能适配 H5 端- 在 fg-tabbar 组件中添加了对 H5 端二维码扫描的支持 - 引入 qrcode 解析库以处理 H5 端的二维码扫描结果 - 根据平台类型(app 或 H5)选择不同的扫描方式

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