From e00da17ae2adaecf1cdf2d5128e357a50607bc90 Mon Sep 17 00:00:00 2001
From: 罗广辉 <guanghui.luo@foxmail.com>
Date: Fri, 27 Feb 2026 08:40:37 +0800
Subject: [PATCH] feat: 权限获取调整

---
 uniapps/work-app/src/api/user/index.js |   18 ++++++++++++++++++
 1 files changed, 18 insertions(+), 0 deletions(-)

diff --git a/uniapps/work-app/src/api/user/index.js b/uniapps/work-app/src/api/user/index.js
index faa8ce7..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',
     },
   })
 }
@@ -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