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 }); }