From 31f4219f3d7fc041ba6ec2d11084e7e0f61ffdb8 Mon Sep 17 00:00:00 2001 From: songgaoshuai <1742057357@qq.com> Date: 星期五, 22 三月 2024 11:32:58 +0800 Subject: [PATCH] fix修复已办参数传错 --- src/api/system/user/index.ts | 14 +++++++++++++- 1 files changed, 13 insertions(+), 1 deletions(-) diff --git a/src/api/system/user/index.ts b/src/api/system/user/index.ts index cb448f5..61a58f6 100644 --- a/src/api/system/user/index.ts +++ b/src/api/system/user/index.ts @@ -18,6 +18,17 @@ }; /** + * 閫氳繃鐢ㄦ埛ids鏌ヨ鐢ㄦ埛 + * @param userIds + */ +export const optionSelect = (userIds: (number | string)[]): AxiosPromise<UserVO[]> => { + return request({ + url: '/system/user/optionselect?userIds=' + userIds, + method: 'get' + }); +}; + +/** * 鑾峰彇鐢ㄦ埛璇︽儏 * @param userId */ @@ -136,7 +147,7 @@ headers: { isEncrypt: true }, - params: data + data: data }); }; @@ -199,6 +210,7 @@ export default { listUser, getUser, + optionSelect, addUser, updateUser, delUser, -- Gitblit v1.9.3