( groupId: string )
| 242 | * @param groupId 群组ID |
| 243 | */ |
| 244 | export async function getAllGroupInviteCode( |
| 245 | groupId: string |
| 246 | ): Promise<GroupInvite[]> { |
| 247 | const { data } = await request.get( |
| 248 | '/api/group/invite/getAllGroupInviteCode', |
| 249 | { |
| 250 | params: { |
| 251 | groupId, |
| 252 | }, |
| 253 | } |
| 254 | ); |
| 255 | |
| 256 | return data; |
| 257 | } |
| 258 | |
| 259 | /** |
| 260 | * 根据邀请码查找邀请信息 |