简要描述:
- 获取拼团活动团列表
请求URL:
plugin.fight-groups-lottery.frontend.fight-groups-lottery.get-team-list
参数:
参数名 | 是否必须 | 类型 | 说明 |
---|---|---|---|
group_id | 是 | int | 活动id |
返回示例:
正确时返回:
{
"result": 1,
"msg": "success",
"data": {
"total": 1,
"per_page": 15,
"current_page": 1,
"last_page": 1,
"next_page_url": null,
"prev_page_url": null,
"from": 1,
"to": 1,
"data": [
{
"id": 2,
"has_many_team_member": [
{
"id": 2,
"uniacid": 1,
"group_id": 6,
"level_id": 10,
"team_id": 2,
"member_id": 163781,
"goods_id": 115,
"option_id": 266,
"purchase_quantity": 1,
"price": "50.00",
"total_price": "50.00",
"order_id": 368,
"order_sn": "",
"status": 1,
"status_message": "参团成功",
"join_time": 1576583204,
"refund_time": null,
"is_leader": 1,
"created_at": "2019-12-17 19:46:42",
"updated_at": "2019-12-17 19:46:44",
"deleted_at": null,
"store_id": 0,
"plugin_id": 0,
"avatar": "http://thirdwx.qlogo.cn/mmopen/cEM5JWyl9FekStW90tfVx0KaicTdGiaic8GaL9ibUAPEHB1ib5kbhM1INYua7NSibBF4hFJpdE3fpdr8kgqnRxm1RTc8nWRYe4CFoia/132",
"is_win": 1,
"lid": 9
},
{
"id": 3,
"uniacid": 1,
"group_id": 6,
"level_id": 10,
"team_id": 2,
"member_id": 163779,
"goods_id": 115,
"option_id": 266,
"purchase_quantity": 1,
"price": "50.00",
"total_price": "50.00",
"order_id": 370,
"order_sn": "",
"status": 1,
"status_message": "参团成功",
"join_time": 1576583255,
"refund_time": null,
"is_leader": 0,
"created_at": "2019-12-17 19:47:34",
"updated_at": "2019-12-17 19:47:35",
"deleted_at": null,
"store_id": 0,
"plugin_id": 0,
"avatar": "http://thirdwx.qlogo.cn/mmopen/ajNVdqHZLLCKcv76uhjUbhwz6kSdz8Ftr9JicXMBWpNI55Gx0ylDHLRPicrubdFZ9Mg9rLKe0XcWaBaWevspU7XQtsGIyLOKlupBvUC4XeHOw/132",
"is_win": 1,
"lid": 10
}
]
}
]
}
}
错误时返回:
{
"errcode": 500,
"errmsg": "invalid appid"
}
返回参数说明:
参数名 | 类型 | 说明 |
---|---|---|
is_win | int | 0为不中奖励,1为中奖 |
lottery_name | str | 中奖自定义名称 |
备注:
- 更多返回错误代码请看首页的错误代码描述