From 77a90900b2f960c0e8a879bf121f953d5089a12d Mon Sep 17 00:00:00 2001 From: 田源 <lastanimals@163.com> Date: 星期五, 08 三月 2024 10:15:47 +0800 Subject: [PATCH] 产品主数据手动同步&接口基本信息 集团码 编辑信息未同步 内容类型选择无有效值 --- Source/UBCS-WEB/src/api/system/user.js | 23 +++++++++++++++++++---- 1 files changed, 19 insertions(+), 4 deletions(-) diff --git a/Source/UBCS-WEB/src/api/system/user.js b/Source/UBCS-WEB/src/api/system/user.js index 041d64c..6f2378b 100644 --- a/Source/UBCS-WEB/src/api/system/user.js +++ b/Source/UBCS-WEB/src/api/system/user.js @@ -159,14 +159,29 @@ } }) } + //鍗曠偣鐧诲綍鎺ュ彛 export const ssoLogin =(empCode) => { + const params = new URLSearchParams(); + params.append('empCode', empCode); return request({ url: '/api/ubcs-code/passwordFree/ssoLogin', - method: 'get', - params:{ - empCode - } + 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