From 1df478bfab1a1e27d9c5e88f7c8c0fc71f904e8e Mon Sep 17 00:00:00 2001
From: yuxc <653031404@qq.com>
Date: 星期二, 17 十月 2023 17:42:34 +0800
Subject: [PATCH] 1、设置allcode状态时,设置为业务数据的状态。

---
 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