简要描述:

  • 群二维码信息

请求URL:

GET/&route=plugin.group-code.api.group-code.get-group-code-data

参数:

参数名 是否必须 类型 说明
id int 群活码id
label string 选择的标签

返回参数 data.data说明:

参数名 是否必须 类型 说明
id int 群二维码id
uniacid int 公众号id
group_id int 群活码id
label int 群二维码标签
code_url string 群二维码图片链接
expire int 群二维码过期时间
upper_limit int 群二维码扫码上限
status int 群二维码状态,0关闭,1开启
remark string 群二维码备注
group_code.id int 群活码id
group_code.member_id int 群活码创建用户id,0为后台创建
group_code.code_name string 群活码名称
group_code.code_guide string 群活码引导语
group_code.auth_visit string 访问授权
group_code.join_type string 背景图2
group_code.explain string 说明,0关闭,1开启
group_code.explain_content string 说明内容
group_code.customer_service string 客服二维码
group_code.customer_service_guide string 客服引导语
group_code.label_banner string 标签页banner
group_code.label_data array 标签
group_code.in_number int 默认参与人数
group_code.recommend int 推荐,0关闭,1开启
group_code.status int 状态,0关闭,1开启

返回示例:

正确时返回:

{
	"result": 1,
	"msg": "ok",
	"data": {
		"data": {
			"id": 7,
			"uniacid": 1,
			"group_id": 9,
			"label": "",
			"code_url": "https://shop-yunzshop-com.oss-cn-hangzhou.aliyuncs.com/images/1/2020/07/EZNSRr4L9l3lSX9S1efHw3zWNxDnlf.png",
			"expire": "2020-08-31 00:00:00",
			"upper_limit": 266,
			"status": 1,
			"remark": "123456",
			"created_at": "2020-08-07 10:45:09",
			"updated_at": "2020-08-10 09:03:02",
			"has_many_data_log_count": 0,
			"code_url_img": "https://shop-yunzshop-com.oss-cn-hangzhou.aliyuncs.com/images/1/2020/07/EZNSRr4L9l3lSX9S1efHw3zWNxDnlf.png",
			"group_code": {
				"id": 9,
				"uniacid": 1,
				"member_id": 0,
				"code_name": "测试群活码",
				"code_guide": "12312321",
				"auth_visit": 0,
				"join_type": 0,
				"explain": 0,
				"explain_content": "",
				"customer_service": "newimage/4e323cbb65a5b55b8655faf28c7b2c32.jpg",
				"customer_service_guide": "12321321321",
				"label_banner": "",
				"label_data": [],
				"in_number": 0,
				"status": 1,
				"recommend": 0,
				"created_at": "2020-08-07 10:45:09",
				"updated_at": "2020-08-10 10:07:06",
				"deleted_at": null,
				"customer_service_img": "http://shop-yunzshop-com.oss-cn-hangzhou.aliyuncs.com/newimage/4e323cbb65a5b55b8655faf28c7b2c32.jpg",
				"label_banner_img": "",
				"has_one_member": null
			}
		},
		"shop_log": "http://shop-yunzshop-com.oss-cn-hangzhou.aliyuncs.com/images/1/2019/10/D4uZa999psputsapuDASza5WAWfs9p.jpg"
	}
}

错误时返回:

{
	"result": 0,
	"msg": "群活码未开启",
	"data": []
}

备注: