From 4c390d209b45d516fbe2f7552d26048687c83972 Mon Sep 17 00:00:00 2001
From: chenyao <1219716595@qq.com>
Date: Wed, 05 Aug 2026 14:29:25 +0800
Subject: [PATCH] feat:tab切换太快的时候内容不对应
---
uniapps/work-app/src/api/user/index.js | 22 ++++++++++++++++++++--
1 files changed, 20 insertions(+), 2 deletions(-)
diff --git a/uniapps/work-app/src/api/user/index.js b/uniapps/work-app/src/api/user/index.js
index 14685d4..3c1cf49 100644
--- a/uniapps/work-app/src/api/user/index.js
+++ b/uniapps/work-app/src/api/user/index.js
@@ -44,18 +44,19 @@
grant_type: 'password',
scope: 'all',
type,
+ belongSystem: 'dilab-brain',
},
})
}
export const getUserInfo = () => {
return request({
- url: '/blade-system/user/info',
+ url: '/system/user/getInfo',
method: 'get',
});
};
export const updateInfo = row => {
return request({
- url: '/blade-system/user/update-info',
+ url: '/system/user/profile/update',
method: 'post',
data: row,
});
@@ -72,6 +73,23 @@
});
};
+/** 发送重置密码验证码 */
+export const sendResetCode = (phone) => {
+ return request({
+ url: `/system/verificationCode/resetCode/${phone}`,
+ method: 'get',
+ });
+};
+
+/** 根据验证码重置密码 */
+export const resetPassword = (data) => {
+ return request({
+ url: '/system/user/retrievePassword',
+ method: 'post',
+ data: data,
+ });
+};
+
// 微信登录接口
export const loginByWechat = (code) => {
return request({
--
Gitblit v1.9.3