( name: string, panels: GroupPanel[] )
| 71 | * @param panels 初始面板 |
| 72 | */ |
| 73 | export async function createGroup( |
| 74 | name: string, |
| 75 | panels: GroupPanel[] |
| 76 | ): Promise<GroupInfo> { |
| 77 | const { data } = await request.post('/api/group/createGroup', { |
| 78 | name, |
| 79 | panels, |
| 80 | }); |
| 81 | |
| 82 | return data; |
| 83 | } |
| 84 | |
| 85 | /** |
| 86 | * 获取群组基本信息 |
nothing calls this directly
no outgoing calls
no test coverage detected