From 4bd19a5df18f763c9b89c06b60ed42d11baede2a Mon Sep 17 00:00:00 2001
From: linwe <872216996@qq.com>
Date: Tue, 09 Jul 2024 17:33:37 +0800
Subject: [PATCH] 无诈代码优化
---
src/api/system/user.js | 14 ++++----------
1 files changed, 4 insertions(+), 10 deletions(-)
diff --git a/src/api/system/user.js b/src/api/system/user.js
index 9622496..86f7346 100644
--- a/src/api/system/user.js
+++ b/src/api/system/user.js
@@ -119,16 +119,10 @@
})
}
-export const zc = (deptname,username, password, sname, phone) => {
+export const zc = (param) => {
return request({
- url: '/api/blade-user/zc',
- method: 'get',
- params: {
- deptname,
- username,
- password,
- sname,
- phone,
- }
+ url: '/api/blade-system/user/register-user',
+ method: 'post',
+ data: param
})
}
--
Gitblit v1.9.3