From e937db72eee52f01f72431380c8a6b8ab498c99c Mon Sep 17 00:00:00 2001 From: zch Date: Tue, 14 Jan 2025 15:46:11 +0800 Subject: [PATCH] =?UTF-8?q?add(system-user):=20=E6=96=B0=E5=A2=9E=E8=8E=B7?= =?UTF-8?q?=E5=8F=96=E7=94=A8=E6=88=B7=E5=88=97=E8=A1=A8=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 添加 getUserList 函数,用于获取系统用户列表 - 使用 POST 方法调用 /system/user/getUList 接口 - 传入 data 参数以支持灵活的查询条件 --- src/api/system/user/index.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/api/system/user/index.ts b/src/api/system/user/index.ts index 25c7884..ba5bd2f 100644 --- a/src/api/system/user/index.ts +++ b/src/api/system/user/index.ts @@ -209,6 +209,15 @@ export const deptTreeSelect = (): AxiosPromise => { }); }; +export const getUserList = (data) =>{ + return request({ + url: '/system/user/getUList', + method: 'post', + data: data + }) +}; + + export default { listUser, getUser,