简要描述:
- 群主获取群成员列表(老接口)
请求URL:
GET/plugin.group-develop-user.frontend.group-chat-member.owner-get-list
参数:
参数名 | 是否必须 | 类型 | 说明 |
---|---|---|---|
page | 否 | int | 页码 |
pagesize | 否 | int | 默认20条 |
id | 是 | int | 群ID |
status | 否 | int | 是否在群 1在群 0退群 不需要筛选时传空字符串或者null |
join_scene | 否 | int | 入群方式 1-由成员邀请入群(直接邀请入群)2 - 由成员邀请入群(通过邀请链接入群)3 - 通过扫描群二维码入群 |
返回示例:
正确时返回:
{
"result": 1,
"msg": "成功",
"data": {
"total": 2,
"per_page": 20,
"current_page": 1,
"last_page": 1,
"next_page_url": null,
"prev_page_url": null,
"from": 1,
"to": 2,
"data": [
{
"id": 24,
"uniacid": 2,
"crop_id": 1,
"chat_id": "wrDesSDgAAL8Qqua39GlYDZ0aTT1QYdQ",
"userid": "wmDesSDgAAqCJsiYSHI5r5tpuH9-f9AA",
"unionid": "o-6fOwGr1HfVUVlp1yDM2z5lG0pg",
"join_time": 1620109788,
"join_scene": 3,
"member_type": 2,
"status": 1,
"join_scene_desc": "扫描群二维码入群",
"status_desc": "在群",
"join_time_str": "2021-05-04 14:29",
"createtime_str": "2018-09-30 15:50",
"is_owner": 0,
"customer_uid": 2601,
"customer_nickname": "longerick",
"customer_avatar": null,
"invitor_uid": null,
"invitor_nickname": null,
"invitor_avatar": null,
"group_owner_member_uid": 2662,
"group_owner_member_nickname": "15000245941",
"group_owner_member_avatar": null
},
{
"id": 23,
"uniacid": 2,
"crop_id": 1,
"chat_id": "wrDesSDgAAL8Qqua39GlYDZ0aTT1QYdQ",
"userid": "SunXinJian",
"unionid": "",
"join_time": 1619935640,
"join_scene": 1,
"member_type": 1,
"status": 1,
"join_scene_desc": "直接邀请入群",
"status_desc": "在群",
"join_time_str": "2021-05-02 14:07",
"createtime_str": "",
"is_owner": 1,
"customer_uid": null,
"customer_nickname": null,
"customer_avatar": null,
"invitor_uid": null,
"invitor_nickname": null,
"invitor_avatar": null,
"group_owner_member_uid": 2662,
"group_owner_member_nickname": "15000245941",
"group_owner_member_avatar": null
}
]
}
}
错误时返回:
返回参数说明:
参数名 | 类型 | 说明 | |
---|---|---|---|
join_scene_desc | string | 入群方式 | |
status_desc | string | 在群状态 | |
join_time_str | string | 入群时间 | |
join_scene_desc | string | 入群方式 | |
is_owner | int | 是否是群主 | |
createtime_str | string | 注册时间 | |
customer_uid | string | 成员会员UID | |
customer_nickname | string | 成员会员昵称 | |
customer_avatar | string | 成员会员头像 | |
invitor_uid | string | 邀请人会员UID(已废弃) | |
invitor_nickname | string | 邀请人会员昵称 | |
invitor_avatar | string | 邀请人会员头像 | |
group_owner_member_uid | string | 系统推荐人会员UID | |
group_owner_member_nickname | string | 系统推荐人会员昵称 | |
group_owner_member_avatar | string | 系统推荐人会员头像 |