简要描述:

  • 管理企业 必须请求该接口再进入相应的企业管理页面。

请求域名:

  • http://xx.com

请求URL:

xx.com/business/{公众号}/plugin/GroupDevelopUser/getGroupMembers

参数:

参数名 是否必须 类型 说明
id int 成员ID
customer_kwd string 成员会员信息
invitor_kwd string 邀请人信息
chat_owner_kwd string 系统推荐人昵称/姓名/手机号
chat_owner_uid string 系统推荐人会员ID
join_scene int 入群方式 1 '直接邀请入群',2 '邀请链接入群',3'扫描群二维码入群',
times string 时间
inviter_member_kwd string 邀请会员信息
inviter_member_uid int 邀请会员ID

返回示例:

正确时返回:

{
	"result": 1,
	"msg": "",
	"data":[]
}

错误时返回:

{
	"result": 1,
	"msg": "",
	"data": {
		"list": {
			"current_page": 1,
			"data": [{
				"id": 6,
				"uniacid": 2,
				"crop_id": 1,
				"chat_id": "wrDesSDgAA6xcEWUBT6TDrFGZRFQjRJg",
				"userid": "wmDesSDgAA4gZVOJBh9fffrI6yGBBVsw",
				"invitor_userid": "WeiPing",
				"unionid": "otAGn0nZGfzlewXL0qy-X3iOFuhM",
				"join_time": 1623999771,
				"join_scene": 3,
				"member_type": 2,
				"status": 1,
				"withdraw_time": 0,
				"withdraw_scene": -1,
				"created_at": "2021-10-08 09:48:50",
				"updated_at": null,
				"deleted_at": null,
				"we_nickname": "\u97e6\u5e73",
				"join_time_str": "2021-06-18 15:02:51",
				"status_desc": "\u5728\u7fa4",
				"join_scene_desc": "\u626b\u63cf\u7fa4\u4e8c\u7ef4\u7801\u5165\u7fa4",
				"customer_member_createtime": "2021-10-08 10:56:12",
				"parent_member_uid": 0,
				"parent_member_avatar_image": "",
				"parent_member_nickname": "",
				"has_one_employee": null,
				"has_one_customer": {
					"unique_id": 1302,
					"uniacid": 2,
					"unionid": "otAGn0nZGfzlewXL0qy-X3iOFuhM",
					"member_id": 3075,
					"type": "",
					"created_at": "1633661772",
					"updated_at": "1633661772",
					"deleted_at": null,
					"has_one_member": {
						"uid": 3075,
						"nickname": "\u97e6\u5e73",
						"mobile": "",
						"avatar": "\/addons\/yun_shop\/static\/images\/photo-mr.jpg",
						"createtime": 1633661772,
						"avatar_image": "http:\/\/www.wq.com\/addons\/yun_shop\/static\/images\/photo-mr.jpg",
						"username": "\u97e6\u5e73",
						"yz_member": {
							"member_id": 3075,
							"parent_id": 0,
							"is_agent": 0,
							"group_id": 2,
							"level_id": 0,
							"is_black": 0,
							"content": null,
							"status": 0,
							"agent": null
						}
					}
				},
				"has_one_invitor": {
					"id": 2,
					"uniacid": 2,
					"crop_id": 1,
					"uid": 0,
					"userid": "WeiPing",
					"avatar_mediaid": "https:\/\/wework.qpic.cn\/bizmail\/kw0ExyS4j08ibbIFjltI6gib5XpevUZ3ePqyL3oYLkiaDcWE2n1SkAPRA\/0",
					"name": "\u97e6\u5e73",
					"alias": "",
					"gender": 1,
					"mobile": "17620161217",
					"email": "",
					"department": "1",
					"position": "",
					"is_leader_in_dept": "0",
					"telephone": "",
					"address": "",
					"status": 1,
					"extattr": "{"attrs ":[]}",
					"external_profile": "",
					"external_position": "",
					"main_department": "1",
					"active_time": 0,
					"is_allocate": 0,
					"dimission_time": 0,
					"created_at": "2021-04-20 17:25:43",
					"updated_at": "2021-09-07 10:49:01",
					"deleted_at": null,
					"has_one_member": null
				}
			}, {
				"id": 5,
				"uniacid": 2,
				"crop_id": 1,
				"chat_id": "wrDesSDgAA6xcEWUBT6TDrFGZRFQjRJg",
				"userid": "wmDesSDgAAhEuq0Y_TXMETE4ixZuFlGA",
				"invitor_userid": "WeiPing",
				"unionid": "otAGn0qE1wYj5mAhKJFe-5yn5wfw",
				"join_time": 1624000609,
				"join_scene": 3,
				"member_type": 2,
				"status": 1,
				"withdraw_time": 0,
				"withdraw_scene": -1,
				"created_at": "2021-10-08 09:48:50",
				"updated_at": null,
				"deleted_at": null,
				"we_nickname": "\u5df4\u6bd4\u9f99@\u5b9d\u8d1d\u8d70\u5929\u4e0b",
				"join_time_str": "2021-06-18 15:16:49",
				"status_desc": "\u5728\u7fa4",
				"join_scene_desc": "\u626b\u63cf\u7fa4\u4e8c\u7ef4\u7801\u5165\u7fa4",
				"customer_member_createtime": "2021-10-08 10:56:12",
				"parent_member_uid": 0,
				"parent_member_avatar_image": "",
				"parent_member_nickname": "",
				"has_one_employee": null,
				"has_one_customer": {
					"unique_id": 1301,
					"uniacid": 2,
					"unionid": "otAGn0qE1wYj5mAhKJFe-5yn5wfw",
					"member_id": 3074,
					"type": "",
					"created_at": "1633661772",
					"updated_at": "1633661772",
					"deleted_at": null,
					"has_one_member": {
						"uid": 3074,
						"nickname": "\u5df4\u6bd4\u9f99@\u5b9d\u8d1d\u8d70\u5929\u4e0b",
						"mobile": "",
						"avatar": "\/addons\/yun_shop\/static\/images\/photo-mr.jpg",
						"createtime": 1633661772,
						"avatar_image": "http:\/\/www.wq.com\/addons\/yun_shop\/static\/images\/photo-mr.jpg",
						"username": "\u5df4\u6bd4\u9f99@\u5b9d\u8d1d\u8d70\u5929\u4e0b",
						"yz_member": {
							"member_id": 3074,
							"parent_id": 0,
							"is_agent": 0,
							"group_id": 2,
							"level_id": 0,
							"is_black": 0,
							"content": null,
							"status": 0,
							"agent": null
						}
					}
				},
				"has_one_invitor": {
					"id": 2,
					"uniacid": 2,
					"crop_id": 1,
					"uid": 0,
					"userid": "WeiPing",
					"avatar_mediaid": "https:\/\/wework.qpic.cn\/bizmail\/kw0ExyS4j08ibbIFjltI6gib5XpevUZ3ePqyL3oYLkiaDcWE2n1SkAPRA\/0",
					"name": "\u97e6\u5e73",
					"alias": "",
					"gender": 1,
					"mobile": "17620161217",
					"email": "",
					"department": "1",
					"position": "",
					"is_leader_in_dept": "0",
					"telephone": "",
					"address": "",
					"status": 1,
					"extattr": "{"attrs ":[]}",
					"external_profile": "",
					"external_position": "",
					"main_department": "1",
					"active_time": 0,
					"is_allocate": 0,
					"dimission_time": 0,
					"created_at": "2021-04-20 17:25:43",
					"updated_at": "2021-09-07 10:49:01",
					"deleted_at": null,
					"has_one_member": null
				}
			}, {
				"id": 4,
				"uniacid": 2,
				"crop_id": 1,
				"chat_id": "wrDesSDgAA6xcEWUBT6TDrFGZRFQjRJg",
				"userid": "wmDesSDgAAtJ9z9OTXVlHQOsFRgVBZ8Q",
				"invitor_userid": "WeiPing",
				"unionid": "otAGn0jK5qcxvvuxnIs1tkP3nIiQ",
				"join_time": 1623999236,
				"join_scene": 1,
				"member_type": 2,
				"status": 1,
				"withdraw_time": 0,
				"withdraw_scene": -1,
				"created_at": "2021-10-08 09:48:50",
				"updated_at": null,
				"deleted_at": null,
				"we_nickname": "\u82b8\u4f17\u5546\u57ce#\u5b9a\u5236-\u5c0f\u8335",
				"join_time_str": "2021-06-18 14:53:56",
				"status_desc": "\u5728\u7fa4",
				"join_scene_desc": "\u76f4\u63a5\u9080\u8bf7\u5165\u7fa4",
				"customer_member_createtime": "2021-08-11 14:35:17",
				"parent_member_uid": 0,
				"parent_member_avatar_image": "",
				"parent_member_nickname": "",
				"has_one_employee": null,
				"has_one_customer": {
					"unique_id": 1278,
					"uniacid": 2,
					"unionid": "otAGn0jK5qcxvvuxnIs1tkP3nIiQ",
					"member_id": 3048,
					"type": "1",
					"created_at": "1628663717",
					"updated_at": "1628663717",
					"deleted_at": null,
					"has_one_member": {
						"uid": 3048,
						"nickname": "\u82b8\u4f17\u5546\u57ce#\u5b9a\u5236-\u5c0f\u8335",
						"mobile": "",
						"avatar": "http:\/\/wx.qlogo.cn\/mmhead\/Q3auHgzwzM6lyYgaVQnic31Tu1ll1a0H0tCdfPNaVch52S2XiaspKaPQ\/0",
						"createtime": 1628663717,
						"avatar_image": "https:\/\/wx.qlogo.cn\/mmhead\/Q3auHgzwzM6lyYgaVQnic31Tu1ll1a0H0tCdfPNaVch52S2XiaspKaPQ\/0",
						"username": "\u82b8\u4f17\u5546\u57ce#\u5b9a\u5236-\u5c0f\u8335",
						"yz_member": {
							"member_id": 3048,
							"parent_id": 0,
							"is_agent": 0,
							"group_id": 0,
							"level_id": 0,
							"is_black": 0,
							"content": null,
							"status": 0,
							"agent": null
						}
					}
				},
				"has_one_invitor": {
					"id": 2,
					"uniacid": 2,
					"crop_id": 1,
					"uid": 0,
					"userid": "WeiPing",
					"avatar_mediaid": "https:\/\/wework.qpic.cn\/bizmail\/kw0ExyS4j08ibbIFjltI6gib5XpevUZ3ePqyL3oYLkiaDcWE2n1SkAPRA\/0",
					"name": "\u97e6\u5e73",
					"alias": "",
					"gender": 1,
					"mobile": "17620161217",
					"email": "",
					"department": "1",
					"position": "",
					"is_leader_in_dept": "0",
					"telephone": "",
					"address": "",
					"status": 1,
					"extattr": "{"attrs ":[]}",
					"external_profile": "",
					"external_position": "",
					"main_department": "1",
					"active_time": 0,
					"is_allocate": 0,
					"dimission_time": 0,
					"created_at": "2021-04-20 17:25:43",
					"updated_at": "2021-09-07 10:49:01",
					"deleted_at": null,
					"has_one_member": null
				}
			}],
			"first_page_url": "http:\/\/www.wq.com\/web\/index.php?page=1",
			"from": 1,
			"last_page": 1,
			"last_page_url": "http:\/\/www.wq.com\/web\/index.php?page=1",
			"next_page_url": null,
			"path": "http:\/\/www.wq.com\/web\/index.php",
			"per_page": 10,
			"prev_page_url": null,
			"to": 3,
			"total": 3
		},
		"summary": {
			"in_group_count": 3,
			"in_group_employee_count": 0,
			"in_group_customer_count": 3
		}
	}
}

返回参数说明:

参数名 类型 说明
data[crop_id] int 公司id
data[chat_id] int 群id
data[userid] string userid
data[invitor_userid] string 邀请人userid
data[unionid] string 开放平台unionid
data[join_scene] int 1 '直接邀请入群',2 '邀请链接入群',3'扫描群二维码入群',
data[member_type] int 1 企业成员 2 外部联系人
data[withdraw_time] int 退群时间
data[withdraw_scene] int '默认-1没退群,退群方式0-自己退群,1-群主/群管理员移出
data[we_nickname] string 成员昵称
data[status_desc] string 在群
data[join_scene_desc] string 1 '直接邀请入群',2 '邀请链接入群',3'扫描群二维码入群'
data[customer_member_createtime] string 创建会员时间
data[parent_member_uid] int 上级系统会员id
data[parent_member_avatar_image] string 上级系统会员头像
data[parent_member_nickname] string 上级系统会员昵称
data[has_one_customer][unique_id] int 唯一标识id
data[has_one_customer][unionid] string 开放平台unionid
data[has_one_customer][unique_id] member_id 系统会员id
data[has_one_customer][has_one_member][uid] int 系统会员id
data[has_one_customer][has_one_member][nickname] string 系统会员昵称
data[has_one_customer][has_one_member][mobile] string 系统会员手机号
data[has_one_customer][has_one_member][avatar_image] string 系统会员头像
data[has_one_customer][has_one_member][username] string 系统会员名称
summary[in_group_count] int 当前成员数量
summary[in_group_employee_count] int 当前成员数量
summary[in_group_customer_count] int 当前外部成员数量