简要描述:
- 拼购商品聚合页+首页
请求域名:
- http://xx.com
请求URL: 导出为(export)
POST:plugin.together-purchase.api.index.getTogetherData
参数:
参数名 | 是否必须 | 类型 | 说明 |
---|---|---|---|
art | 是 | string | 值为 polymerization |
返回示例:
正确时返回:
{
"result": 1,
"msg": "",
"data": {
"index": "",
"polymerization": {
"total": 1,
"per_page": 10,
"current_page": 1,
"last_page": 1,
"next_page_url": null,
"prev_page_url": null,
"from": 1,
"to": 1,
"data": [
{
"goods_id": 96,
"activity_id": 1,
"title": "1测试商品--勿拍",
"price": "1.00",
"market_price": "10.00",
"thumb": "http://test-1251768088.cosgz.myqcloud.com/images/3/2019/09/K7c1US5t7wzWP5uTxcAU7KZaTA5ukK.png",
"buy_number": 4
}
]
},
"buyList": "",
"checkActivity": ""
}
}
错误时返回:
返回参数说明:
参数名 | 类型 | 说明 |
---|---|---|
goods_id | int | 商品ID |
activity_id | int | 活动ID |
title | string | 商品名称 |
actual_price | string | 拼购金额 |
price | decimal | 商品现价 |
market_price | decimal | 商品原价 |
thumb | string | 商品图片 |
buy_number | int | 活动人数(几人团) |
备注:
- 更多返回错误代码请看首页的错误代码描述