From dc590d026e1130a98c70181fb65f8ed09414e787 Mon Sep 17 00:00:00 2001
From: yuxc <653031404@qq.com>
Date: 星期五, 14 七月 2023 17:48:11 +0800
Subject: [PATCH] 1、主要解决获取当前用户信息等问题,使用AuthUtil来进行获取,对生成token等信息进行了修改增加。

---
 Source/UBCS-WEB/src/api/system/user.js |   22 ++++++++++++++++++++++
 1 files changed, 22 insertions(+), 0 deletions(-)

diff --git a/Source/UBCS-WEB/src/api/system/user.js b/Source/UBCS-WEB/src/api/system/user.js
index 6026753..855786d 100644
--- a/Source/UBCS-WEB/src/api/system/user.js
+++ b/Source/UBCS-WEB/src/api/system/user.js
@@ -137,3 +137,25 @@
     data:UserPwdstrategyVO
   })
 }
+
+// 鎻愰啋鏃堕棿
+export const check =(userId) => {
+  return request({
+    url: '/api/ubcs-user/check-renexpr',
+    method: 'post',
+    params:{
+      userId
+    }
+  })
+}
+
+// 鐢ㄦ埛map鍒楄〃鏌ヨ
+export const getByRoleUserList =(roleName) => {
+  return request({
+    url: '/api/ubcs-user/getByRoleUserList',
+    method: 'get',
+    params:{
+      roleName
+    }
+  })
+}
\ No newline at end of file

--
Gitblit v1.9.3