From a6c06fe6573f7789f98f77212a490db7b6d97be9 Mon Sep 17 00:00:00 2001 From: xiejun <xj@2023> Date: 星期日, 12 十一月 2023 20:12:01 +0800 Subject: [PATCH] execl读取设置为null放出来 --- Source/UBCS-WEB/src/api/system/user.js | 28 +++++++++++++++++++++++++++- 1 files changed, 27 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..6f2378b 100644 --- a/Source/UBCS-WEB/src/api/system/user.js +++ b/Source/UBCS-WEB/src/api/system/user.js @@ -158,4 +158,30 @@ 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 + }) +} + +//淇敼鐢ㄦ埛鐘舵�� +export const updateUserStatus = (userIds,status) => { + return request({ + url: '/api/ubcs-user/updateUserStatus', + method: 'post', + params: { + userIds, + status + } + }) +} -- Gitblit v1.9.3