1.用户拼团记录
接口
POST https://open.jisuapp.cn/business/Collage/GetGroupBuyTeamList/
参数说明
Content-Type: application/x-www-form-urlencoded
参数 | 类型 | 必填 | 说明 |
---|---|---|---|
access_token | String | Y | 用户授权的唯一票据 |
current_status | int | n | 拼团状态 0->表示全部 1-> 未开团 2->拼团中 3->拼团成功结束 4->退款 5->关闭 |
idx_arr | array | n | 筛选条件 |
page | int | n | 页码 |
page_size | int | n | 每页数量 |
请求参数说明
idx_arr 可以用来筛选
搜索拼团的唯一值
'idx_arr' => array(
"idx" => 'team_token',
'idx_value' => $team_token //拼团的唯一值
),
返回参数
参数 | 类型 | 说明 |
---|---|---|
id | int | 自增id |
app_id | String | 小程序id |
parent_shop_app_id | String | |
activity_id | String | 拼团活动id |
group_id | String | |
goods_id | String | 商品id |
max_user_num | String | 团的总人数 |
team_min_price | String | 团最价格 |
current_user_count | String | 当前人数 |
team_token | String | 团的唯一标识 |
current_status | String | 拼团状态 |
leader_user_token | String | 团长唯一标识 |
add_time | String | 添加时间 |
paid_time | String | 支付时间 |
expired_time | String | 有效时间 |
refund_time | String | 退款时间 |
success_time | String | 成功时间 |
enable_status | String | 是否下架 |
is_deleted | String | 是否删除 0未删除 1已经删除 |
leader_username | String | 团长名字 |
leader_thumb | String | 团长头像 |
member | String | |
goods_title | String | 商品名字 |
goods_cover | String | 商品头像 |
goods_price | String | 商品价格 |
current_status_title | String | 拼团状态 |
参数返回示例
{
"status": 0,
"data": [
{
"id": "723",
"app_id": "PpP8xxz338",
"parent_shop_app_id": "",
"activity_id": "561256",
"group_id": "466",
"goods_id": "16184",
"max_user_num": "10",
"team_min_price": "0.1",
"current_user_count": "1",
"team_token": "5ba070e353f72990830395",
"current_status": 2,
"leader_user_token": "cafcaa049fe227d5d3579d416f62cd31",
"add_time": "2018-09-18 11:28:35",
"paid_time": "2018-09-18 11:28:43",
"expired_time": "2018-09-22 15:38:43",
"refund_time": "9999-12-31 23:59:59",
"success_time": "9999-12-31 23:59:59",
"enable_status": "1",
"is_deleted": "0",
"leader_username": "帆布鞋",
"leader_thumb": "https://wx.qlogo.cn/mmopen/vi_32/DYAIOgq83eowB44AADB37MkQVJNd3FGkceK1DtuCjUBicbPneDBzBia4Q97clM0j4cC56O8WwIy4IQI1sGTY8wVA/132",
"member": [],
"goods_title": "222",
"goods_cover": "https://img.zhichiwangluo.com/zcimgdir/thumb/t_15347586535b7a8efd7d40e.gif",
"goods_price": "1.00",
"current_status_title": "拼团中"
}
],
"is_more": 0,
"current_page": 1,
"count": "1",
"total_page": 1
}