简要描述:
- 裂变活动详情
请求域名:
- http://xx.com
请求URL:
xx.com/business/{公众号id}/plugin/CustomerIncrease/activityDetail
参数:
参数名 | 是否必须 | 类型 | 说明 |
---|---|---|---|
id | 是 | int | 活动id,创建活动时传0 |
返回示例:
正确时返回:
{
"result": 1,
"msg": "成功",
"data": {
"activity": {
"id": 8,
"uniacid": 1,
"business_id": 1,
"name": "活动1",
"start_time": 976763619,
"end_time": -1,
"time_type": 0,
"close_time": null,
"reward_type": 0,
"desc_text": "",
"poster_id": 0,
"new_state": 1,
"fail_state": 1,
"tag_ids": [
"etDesSDgAACFJtKmZ8DmxP3DjZmceyLw",
"etDesSDgAAYoJscGWjVDukf38n7PJIOg"
],
"level_limit": 0,
"level_ids": [],
"staff_ids": [
21
],
"max_step": 3,
"share_title": "分享标题",
"share_logo": "xxx",
"share_logo_url": "xxx",
"created_at": "2021-12-14 13:43:43",
"updated_at": "2021-12-14 13:43:43",
"deleted_at": null,
"bg_color": "#F8072F",
"auto_poster": 0,
"common_reply_text": "",
"success_reply_text": "",
"disabled_reply_text": "",
"repeat_reply_text": "",
"share_text": "",
"staff_data": [
{
"id": 21,
"uniacid": 1,
"business_id": 1,
"uid": 0,
"user_id": "SunXinJian",
"name": "孙新建",
"mobile": "15000245941",
"position": "",
"gender": 1,
"telephone": "",
"email": "",
"avatar": "http://wework.qpic.cn/bizmail/r4f9blWlVJOpCPlAticV65autpiaZW6bLc4qfIgnyc39WW9QqxDfb1iag/0",
"alias": "",
"status": 1,
"qr_code": "https://open.work.weixin.qq.com/wwopen/userQRCode?vcode=vc1020a663f6887d1a",
"address": "",
"open_userid": "1_SunXinJian",
"main_department": "1",
"updated_at": "2021-11-23 15:07:46",
"created_at": "2021-09-08 16:59:25",
"deleted_at": null,
"right_type": 0,
"disabled": 1
}
],
"tag_data": [
{
"tag_id": "etDesSDgAACFJtKmZ8DmxP3DjZmceyLw",
"name": "测试标签"
},
{
"tag_id": "etDesSDgAAYoJscGWjVDukf38n7PJIOg",
"name": "测试标签1-2"
}
],
"state_name": "进行中",
"step_rule": [
{
"id": 26,
"uniacid": 1,
"business_id": 1,
"activity_id": 8,
"step_level": 1,
"step_people": 1,
"step_reward": {
"point": 5,
"balance": 5,
"love": 5,
"integral": 5,
"coupon": [
{
"id": 11,
"name": "接龙用优惠券",
"reward_num": 2
}
],
"member_level": {
"level_id": 0,
"level_name": "普通会员122"
}
},
"created_at": "2021-12-14 14:31:05",
"updated_at": "2021-12-14 14:31:05",
"deleted_at": null
},
{
"id": 27,
"uniacid": 1,
"business_id": 1,
"activity_id": 8,
"step_level": 2,
"step_people": 2,
"step_reward": {
"point": 0,
"balance": 0,
"love": 0,
"integral": 0,
"coupon": [],
"member_level": {
"level_id": 0,
"level_name": "普通会员122"
}
},
"created_at": "2021-12-14 14:31:05",
"updated_at": "2021-12-14 14:31:05",
"deleted_at": null
},
{
"id": 28,
"uniacid": 1,
"business_id": 1,
"activity_id": 8,
"step_level": 3,
"step_people": 3,
"step_reward": {
"point": 0,
"balance": 0,
"love": 0,
"integral": 0,
"coupon": [],
"member_level": {
"level_id": 0,
"level_name": "普通会员122"
}
},
"created_at": "2021-12-14 14:31:05",
"updated_at": "2021-12-14 14:31:05",
"deleted_at": null
}
]
},
"member_level": [
{
"id": 0,
"level_name": "普通会员",
"level": 0
},
{
"id": 10,
"level_name": "会员等级1",
"level": 1
},
{
"id": 11,
"level_name": "会员等级2",
"level": 2
}
],
"poster_list": [
{
"id": 5,
"title": "企业微信测试海报"
}
]
}
}
错误时返回:
{
}
返回参数说明:
参数名 | 类型 | 说明 |
---|---|---|
名称 | 类型 | 说明 |
data.activity | arr | 创建时返回空对象,参考创建/编辑裂变活动文档请求参数 |
data.activity.tag_data | arr | 已选标签数据 |
data.activity.staff_data | arr | 已选成员数据 |
data.member_level | arr | 会员等级列表 |
data.poster_list | arr | 海报列表 |