From e818c03ebfd67779852fd69f4da787fdca7c8438 Mon Sep 17 00:00:00 2001
From: zouyu <2723363702@qq.com>
Date: 星期四, 06 三月 2025 16:36:08 +0800
Subject: [PATCH] 检验下单代码迁移
---
src/api/system/user.js | 18 ++++++------------
1 files changed, 6 insertions(+), 12 deletions(-)
diff --git a/src/api/system/user.js b/src/api/system/user.js
index 57ed6d5..7579fd2 100644
--- a/src/api/system/user.js
+++ b/src/api/system/user.js
@@ -138,24 +138,24 @@
// 鑾峰彇浜轰簨绯荤粺缁勭粐
export function selectCompaniesList() {
return request({
- url: "/companies/selectCompaniesList",
+ url: "/system/newUser/selectCompaniesList",
method: "get",
});
}
// 鑾峰彇浜轰簨绯荤粺缁勭粐涓嬬殑浜哄憳
export function selectSimpleList(data) {
return request({
- url: "/companies/selectSimpleList",
- method: "post",
+ url: "/system/newUser/selectSimpleList",
+ method: "get",
params: data,
});
}
// 鑾峰彇浜轰簨绯荤粺缁勭粐涓嬬殑浜哄憳
export function addPersonUser(data) {
return request({
- url: "/companies/addPersonUser",
+ url: "/system/newUser/addPersonUser",
method: "post",
- params: data,
+ data: data,
});
}
// 鑾峰彇瑙掕壊
@@ -165,13 +165,7 @@
method: "get",
});
}
-// 鑾峰彇鍗曚綅
-export function selectCustomEnum() {
- return request({
- url: "/user/selectCustomEnum",
- method: "get",
- });
-}
+
// 鎻愪氦娣诲姞鏋舵瀯淇℃伅
export function addDepartment(params) {
return request({
--
Gitblit v1.9.3