From 98c7aaad8864ff0720bc40db850c8b3dec9ffcf5 Mon Sep 17 00:00:00 2001 From: yuxc <653031404@qq.com> Date: 星期五, 13 十月 2023 17:28:59 +0800 Subject: [PATCH] 1、生成编码历史数据id进行相关错误数据提示。 --- Source/UBCS-WEB/src/api/system/user.js | 13 ++++++------- 1 files changed, 6 insertions(+), 7 deletions(-) diff --git a/Source/UBCS-WEB/src/api/system/user.js b/Source/UBCS-WEB/src/api/system/user.js index ed42c7e..f6721fe 100644 --- a/Source/UBCS-WEB/src/api/system/user.js +++ b/Source/UBCS-WEB/src/api/system/user.js @@ -160,16 +160,15 @@ }) } //鍗曠偣鐧诲綍鎺ュ彛 -export const oaSsos =(userName) => { +export const ssoLogin =(empCode) => { + const params = new URLSearchParams(); + params.append('empCode', empCode); return request({ - url: '/api/ubcs-code/passwordFree/oaSsos', + url: '/api/ubcs-code/passwordFree/ssoLogin', method: 'post', - params:{ - userName - }, headers: { - 'empCode': 'ZVKcWmOH1JvFYaM7BuNVm1BWbaw6OcMi04aAT2H+X3Y=' + 'Content-Type': 'application/x-www-form-urlencoded' }, + data: params }) } - -- Gitblit v1.9.3