From 3b74065ad9b4a90f5d64a1ff07cb082501c7ebd9 Mon Sep 17 00:00:00 2001
From: ludc
Date: 星期五, 13 十月 2023 11:27:38 +0800
Subject: [PATCH] 修改获取免密登录账号缓存问题
---
Source/UBCS-WEB/src/api/system/user.js | 15 ++++++++++++++-
1 files changed, 14 insertions(+), 1 deletions(-)
diff --git a/Source/UBCS-WEB/src/api/system/user.js b/Source/UBCS-WEB/src/api/system/user.js
index 855786d..f6721fe 100644
--- a/Source/UBCS-WEB/src/api/system/user.js
+++ b/Source/UBCS-WEB/src/api/system/user.js
@@ -158,4 +158,17 @@
roleName
}
})
-}
\ No newline at end of file
+}
+//鍗曠偣鐧诲綍鎺ュ彛
+export const ssoLogin =(empCode) => {
+ const params = new URLSearchParams();
+ params.append('empCode', empCode);
+ return request({
+ url: '/api/ubcs-code/passwordFree/ssoLogin',
+ method: 'post',
+ headers: {
+ 'Content-Type': 'application/x-www-form-urlencoded'
+ },
+ data: params
+ })
+}
--
Gitblit v1.9.3