简要描述:
- 管理企业 必须请求该接口再进入相应的企业管理页面。
请求域名:
- http://xx.com
请求URL:
xx.com/business/{公众号}/plugin/GroupDevelopUser/getList
参数:
参数名 | 是否必须 | 类型 | 说明 |
---|---|---|---|
id | 否 | string | 群id |
name | 否 | string | 群名称 |
owner_name | 否 | string | 群主名称 |
owner_member_kwd | 否 | string | 锁客会员昵称/姓名/手机号 |
owner_member_uid | 否 | string | 锁客会员会员ID |
page | 否 | int | 分页 |
tag_id | 否 | int | 群标签id |
返回示例:
正确时返回:
{
result: 1,
msg: "",
data: {
list: {
current_page: 1,
data: [{
id: 1,
uniacid: 2,
crop_id: 1,
chat_id: "wrDesSDgAA6xcEWUBT6TDrFGZRFQjRJg",
group_name: "群拓客测试",
owner_userid: "WeiPing",
owner_uid: 0,
notice: "",
qrcode_url: "",
group_created_time: 1623999236,
status: 0,
created_at: "2021-10-08 09:48:50",
updated_at: null,
deleted_at: null,
employee_count: 3,
customer_count: 3,
owner_name: "韦平",
group_created_time_str: "2021-06-18 14:53:56",
qrcode_image: "",
has_one_owner: {
id: 2,
userid: "WeiPing",
name: "韦平"
},
has_one_owner_member: null
},
{
id: 2,
uniacid: 2,
crop_id: 1,
chat_id: "wrDesSDgAA9TupG6UFvx1VeLGZCGZMsw",
group_name: "群13",
owner_userid: "ZhiHaoLeWoDuoNianDe",
owner_uid: 0,
notice: "",
qrcode_url: "",
group_created_time: 1623923350,
status: 0,
created_at: "2021-10-08 09:48:51",
updated_at: null,
deleted_at: null,
employee_count: 3,
customer_count: 3,
owner_name: "韦安",
group_created_time_str: "2021-06-17 17:49:10",
qrcode_image: "",
has_one_owner: {
id: 6,
userid: "ZhiHaoLeWoDuoNianDe",
name: "韦安"
},
has_one_owner_member: null
},
],
first_page_url: "http://www.wq.com/web/index.php?page=1",
from: 1,
last_page: 2,
last_page_url: "http://www.wq.com/web/index.php?page=2",
next_page_url: "http://www.wq.com/web/index.php?page=2",
path: "http://www.wq.com/web/index.php",
per_page: 10,
prev_page_url: null,
to: 10,
total: 14
},
summary: {
all_members: 18,
all_distinct_members: 7
}
}
}
错误时返回:
{
"result": 0,
"msg": "无权管理该企业",
"data": []
}
返回参数说明:
参数名 | 类型 | 说明 |
---|---|---|
名称 | 类型 | 说明 |
data[crop_id] | int | 企业id |
data[chat_id] | string | 群id |
data[group_name] | string | 群名称 |
data[owner_userid] | string | 群主userid |
data[notice] | string | 备注 |
data[qrcode_url] | string | 二维码链接 |
data[group_created_time] | int | 群创建时间 |
data[status] | string | 群状态 |
data[employee_count] | int | 企业员工数量 |
data[customer_count] | int | 外部客户数量 |
data[owner_name] | string | 群主名称 |
data[qrcode_image] | string | 群图片 |
data[has_one_owner][userid] | string | 群主userid |
data[has_one_owner][name] | string | 群主名称 |
summary[all_members] | int | 群客户总数量(未去重) |
summary[all_distinct_members] | int | 群客户数量(去重) |