From b4f16dfdf1d5741172b8723520050c78d12c0815 Mon Sep 17 00:00:00 2001 From: 田源 <lastanimals@163.com> Date: 星期二, 10 十月 2023 14:46:31 +0800 Subject: [PATCH] 接口基本信息管理-添加集成系统基础信息 --- Source/UBCS-WEB/src/api/system/user.js | 35 +++++++++++++++++++++++++++++++++++ 1 files changed, 35 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..f6721fe 100644 --- a/Source/UBCS-WEB/src/api/system/user.js +++ b/Source/UBCS-WEB/src/api/system/user.js @@ -137,3 +137,38 @@ 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 + } + }) +} +//鍗曠偣鐧诲綍鎺ュ彛 +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