简要描述:
- 奖励列表
请求URL:
GET/plugin.share-activity.frontend.activity.all-team
参数:
参数名 | 是否必须 | 类型 | 说明 |
---|---|---|---|
id | 是 | int | 拼团活动id |
page | 否 | int | 页数,不传默认第1页 |
返回示例:
正确时返回:
{
"result": 1,
"msg": "成功",
"data": {
"current_page": 1,
"data": [
{
"id": 74,
"uniacid": 1,
"group_id": 73,
"level_id": 89,
"leader_id": 165120,
"start_time": 1711952872,
"end_time": 1711963682,
"status": 1,
"status_message": "团长已支付",
"is_virtual": 0,
"success_time": null,
"created_at": "2024-04-01 14:27:53",
"updated_at": "2024-04-01 14:28:02",
"deleted_at": null,
"has_many_success_member_count": 1,
"has_one_leader": {
"nickname": "13*******66",
"avatar": "http://shop-yunzshop-com.oss-cn-hangzhou.aliyuncs.com/images/1/2021/12/68a0a0cfdbaa5785ee764c1971887026.jpg",
"uid": 165120,
"avatar_image": "http://shop-yunzshop-com.oss-cn-hangzhou.aliyuncs.com/images/1/2021/12/68a0a0cfdbaa5785ee764c1971887026.jpg",
"username": "13*******66"
},
"has_one_level": {
"id": 89,
"group_id": 73,
"member_num": 5,
"expire_in": 3,
"status": 1
}
}
],
"first_page_url": "https://dev8.yunzmall.com/addons/yun_shop/api.php?page=1",
"from": 1,
"last_page": 1,
"last_page_url": "https://dev8.yunzmall.com/addons/yun_shop/api.php?page=1",
"next_page_url": null,
"path": "https://dev8.yunzmall.com/addons/yun_shop/api.php",
"per_page": 10,
"prev_page_url": null,
"to": 1,
"total": 1
}
}
错误时返回:
{
result: 0,
msg: "参数错误",
data: [ ]
}
返回参数说明:
参数名 | 类型 | 说明 |
---|---|---|
id | int | 团队id |
level_id | int | 所属层级id |
leader_id | int | 团长会员id |
start_time | int | 开始时间,时间戳 |
end_time | int | 结束时间,时间戳 |
status | int | 团队状态 |
status_message | string | 状态信息 |
success_time | int | 成团时间,时间戳 |
has_many_success_member_count | int | 已参团的会员数 |
has_one_leader | object | 团长会员信息 |
has_one_level | object | 所属层级信息 |
###返回团长数据
has_one_leader 参数名 | 类型 | 说明 |
---|---|---|
nickname | string | 团长昵称 |
avatar | string | 团长头像url |
###返回层级数据
has_one_level 参数名 | 类型 | 说明 |
---|---|---|
id | int | 层级id |
member_num | int | 几人团 |