文档
测试

查询群组列表

GET
/live-edu/web/tximChatroom/groupPage

请求头

参数名
类型
描述
必填
token
String
必填

请求参数

参数名
类型
描述
必填
name
String
群组名称 默认 空
必填
pageIndex
int
当前页 默认 1
必填
pageSize
int
显示条数 默认 10
必填

响应参数

参数名
类型
描述
必填
code
int
状态码 0 成功 其他失败
必填
msg
String
响应信息
必填
obj
Object
返回数据
必填
total
int
总共数据条数
必填
current
int
当前页
必填
pages
int
总共页数
必填
size
int
显示条数
必填
records
Array
群组列表
必填

说明 / 示例

## `返回示例 - 带注释` ```java { "msg": "请求成功", "code": 0, "obj": { "total": 3, // 总共数据条数 "current": 1, // 当前页 "pages": 1, // 总共页数 "size": 10, // 显示条数 "records": [ // 群组列表 { "Notification": "", // 群组公告 "CreateTime": 1630058523, // 群组创建时间戳 "FaceUrl": "",// 群组头像 "GroupId": "@TGS#37Z6JHMHO", // 群组id "Name": "叙利亚讨论群2", // 群组名称 "Type": "ChatRoom", // // 群组类型:Private/Public/ChatRoom/AVChatRoom "Introduction": "简介:大家 请友好评论", // 群组简介 "MaxMemberNum": 200, // 最大群成员数量 "MemberNum": 0 // // 当前群成员数量 } ] } } ``` ## `返回示例 - 不带注释` ```java { "msg": "请求成功", "code": 0, "obj": { "total": 3, "current": 1, "pages": 1, "size": 10, "records": [ { "CreateTime": 1630058523, "FaceUrl": "", "GroupId": "@TGS#37Z6JHMHO", "Name": "叙利亚讨论群2", "Type": "ChatRoom", "Introduction": "简介:大家 请友好评论", "MaxMemberNum": 200, "MemberNum": 0, "Notification": "" } ] } } ```