From e581891072a36f0d0f7f57246366ded965e2ab8a Mon Sep 17 00:00:00 2001
From: xiejun <xiejun@vci-tech.com>
Date: 星期四, 25 一月 2024 10:11:17 +0800
Subject: [PATCH] 获取集团分类根节点前端传null传入后端直接改为空字符串bug修复
---
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 c539aec..6f2378b 100644
--- a/Source/UBCS-WEB/src/api/system/user.js
+++ b/Source/UBCS-WEB/src/api/system/user.js
@@ -160,3 +160,28 @@
})
}
+//鍗曠偣鐧诲綍鎺ュ彛
+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
+ })
+}
+
+//淇敼鐢ㄦ埛鐘舵��
+export const updateUserStatus = (userIds,status) => {
+ return request({
+ url: '/api/ubcs-user/updateUserStatus',
+ method: 'post',
+ params: {
+ userIds,
+ status
+ }
+ })
+}
--
Gitblit v1.9.3