From 1d552a3bad95caae4af15322df28e6240b797693 Mon Sep 17 00:00:00 2001
From: 罗广辉 <guanghui.luo@foxmail.com>
Date: Thu, 13 Aug 2026 15:32:06 +0800
Subject: [PATCH] feat: app视频封面图
---
uniapps/work-app/src/api/user/index.js | 20 +++++++++++++++++++-
1 files changed, 19 insertions(+), 1 deletions(-)
diff --git a/uniapps/work-app/src/api/user/index.js b/uniapps/work-app/src/api/user/index.js
index e5db424..3c1cf49 100644
--- a/uniapps/work-app/src/api/user/index.js
+++ b/uniapps/work-app/src/api/user/index.js
@@ -44,6 +44,7 @@
grant_type: 'password',
scope: 'all',
type,
+ belongSystem: 'dilab-brain',
},
})
}
@@ -55,7 +56,7 @@
};
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