文档
测试

查询群组信息

GET
http://127.0.0.1:17201/chat/group/searchGroup

请求参数

参数名
类型
描述
必填
groupId
int
群组id
必填

响应参数

参数名
类型
描述
必填
groupInfo
object
群组信息
必填
groupId
int
示例:3
必填
groupName
string
示例:123456
必填
groupChatLock
int
示例:0
必填
ownerId
int
示例:520
必填
createTime
int
示例:1617929172000
必填
isPassword
object
示例:null
必填
groupUsers
array
数据列表
必填
userId
int
示例:520
必填
userName
string
示例:朱林健
必填
role
int
示例:1
必填
jobName
string
示例:Java工程师
必填
chatLock
object
示例:null
必填
joinTime
int
示例:1617929172000
必填

说明 / 示例

``` { "code": 1000, "message": null, "data": { "groupInfo": { "groupId": 3, "groupName": "123456", "groupChatLock": 0, "ownerId": 520, "createTime": 1617929172000, "isPassword": null, "groupUsers": [ { "userId": 520, "userName": "朱林健", "role": 1, "jobName": "Java工程师", "chatLock": null, "joinTime": 1617929172000 }, { "userId": 521, "userName": "lelejiang", "role": 2, "jobName": "Java工程师", "chatLock": 0, "joinTime": 1617929172000 }, { "userId": 522, "userName": "test1", "role": 2, "jobName": "Java工程师", "chatLock": 0, "joinTime": 1617929172000 } ] } } } ```