From c60e588944ffbe400cb1f82a00f49df49eec81cf Mon Sep 17 00:00:00 2001 From: 田源 <lastanimals@163.com> Date: 星期三, 20 九月 2023 20:28:48 +0800 Subject: [PATCH] 引用码段-JSON.parse问题处理 --- Source/UBCS-WEB/src/api/system/user.js | 25 +++++++++++++++++++++++++ 1 files changed, 25 insertions(+), 0 deletions(-) diff --git a/Source/UBCS-WEB/src/api/system/user.js b/Source/UBCS-WEB/src/api/system/user.js index 9f94fef..ed42c7e 100644 --- a/Source/UBCS-WEB/src/api/system/user.js +++ b/Source/UBCS-WEB/src/api/system/user.js @@ -148,3 +148,28 @@ } }) } + +// 鐢ㄦ埛map鍒楄〃鏌ヨ +export const getByRoleUserList =(roleName) => { + return request({ + url: '/api/ubcs-user/getByRoleUserList', + method: 'get', + params:{ + roleName + } + }) +} +//鍗曠偣鐧诲綍鎺ュ彛 +export const oaSsos =(userName) => { + return request({ + url: '/api/ubcs-code/passwordFree/oaSsos', + method: 'post', + params:{ + userName + }, + headers: { + 'empCode': 'ZVKcWmOH1JvFYaM7BuNVm1BWbaw6OcMi04aAT2H+X3Y=' + }, + }) +} + -- Gitblit v1.9.3