fix: member count (#4269)

This commit is contained in:
Finley Ge
2025-03-21 16:21:46 +08:00
committed by archer
parent 2c73e9dc12
commit 222ff0d49a
2 changed files with 24 additions and 5 deletions

View File

@@ -36,6 +36,8 @@ export const putSwitchTeam = (teamId: string) =>
/* --------------- team member ---------------- */
export const getTeamMembers = (props: PaginationProps<{ withLeaved?: boolean }>) =>
GET<PaginationResponse<TeamMemberItemType>>(`/proApi/support/user/team/member/list`, props);
export const getTeamMemberCount = () =>
GET<{ count: number }>(`/proApi/support/user/team/member/count`);
// export const postInviteTeamMember = (data: InviteMemberProps) =>
// POST<InviteMemberResponse>(`/proApi/support/user/team/member/invite`, data);