From 35aff1064c76d4e1c9cd39cb499b6c9167b50c29 Mon Sep 17 00:00:00 2001 From: "xinxin.wu" Date: Wed, 2 Aug 2023 12:52:33 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E7=B3=BB=E7=BB=9F=E8=AE=BE=E7=BD=AE):=20?= =?UTF-8?q?=E7=BB=84=E7=BB=87=E6=88=90=E5=91=98=E6=8E=A5=E5=8F=A3=E8=AF=B7?= =?UTF-8?q?=E6=B1=82api=E8=B7=AF=E5=BE=84=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/api/modules/setting/member.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/frontend/src/api/modules/setting/member.ts b/frontend/src/api/modules/setting/member.ts index eb1d33eb37..e949d76f52 100644 --- a/frontend/src/api/modules/setting/member.ts +++ b/frontend/src/api/modules/setting/member.ts @@ -33,17 +33,17 @@ export function batchAddUserGroup(data: BatchAddProjectModel) { } // 移除成员 export function deleteMemberReq(organizationId: string, userId: string) { - return MSR.get({ url: DeleteMemberUrl, params: `/${organizationId}/${userId}` }); + return MSR.get({ url: DeleteMemberUrl, params: `${organizationId}/${userId}` }); } // 获取用户组下拉 export function getGlobalUserGroup(organizationId: string) { - return MSR.get({ url: getUserGroupList, params: `/${organizationId}` }); + return MSR.get({ url: getUserGroupList, params: organizationId }); } // 获取系统用户下拉 export function getUser(organizationId: string) { - return MSR.get({ url: getUserList, params: `/${organizationId}` }); + return MSR.get({ url: getUserList, params: organizationId }); } // 获取组织下边的项目 export function getProjectList(organizationId: string) { - return MSR.get({ url: getProjectListUrl, params: `/${organizationId}` }); + return MSR.get({ url: getProjectListUrl, params: organizationId }); }