简要描述:

  • 我的拼购订单

请求域名:

  • http://xx.com

请求URL: 导出为(export)

POST:plugin.together-purchase.api.index.getTogetherData

参数:

参数名 是否必须 类型 说明
art string 值为 buyList
state string 状态 1-拼购中 2-拼购成功 3-拼购失败

返回示例:

正确时返回:

{
    "result": 1,
    "msg": "",
    "data": {
        "index": "",
        "polymerization": "",
        "buyList": {
            "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": 693,
                    "activity_id": 1,
                    "thumb": "https://test-1251768088.cosgz.myqcloud.com/images/3/2017/12/J0CcTIP0Bn17i6t9JI16zj5C50J1s1.jpg",
                    "title": "图片测试",
                    "price": "11.00",
                    "market_price": "11.00",
                    "created_at": "2020-09-08 09:11:34",
                    "surplus_time": "2天23小时13分钟16秒",
                    "surplus_num": 3,
                    "state_name": "拼购中",
                    "state": 1,
                    "order_id": 1275,
					"end_time": "1599873094"
                }
            ]
        },
        "checkActivity": ""
    }
}

错误时返回:


返回参数说明:

参数名 类型 说明
goods_id int 商品ID
activity_id int 活动ID
thumb int 商品图片
title string 商品名称
price decimal 商品现价
market_price decimal 商品原价
created_at string 拼购时间
surplus_time int 剩余时间
surplus_num int 剩余拼购人数
state_name int 拼购状态名称
state int 拼购状态 状态 1-拼购中 2-拼购成功 3-拼购失败 4-成团中 5=>'已退款',6=>'已返还爱心值'
order_id int 订单ID
end_time int 结束时间

备注:

  • 更多返回错误代码请看首页的错误代码描述