简要描述:

  • 开品实验室--开品列表

请求域名:

  • http://xx.com

请求URL:

POST/plugin.event-registration.api.goods.goods.get-goods-list

参数:

参数名 是否必须 类型 说明
title string 活动名称
activity_status int 活动状态,1未开始,2进行中,3已结束
city_id int 城市id

返回示例:

正确时返回:

{
    "result": 1,
    "msg": "获取成功",
    "data": {
        "current_page": 1,
        "data": [
            {
                "title": "赛事活动1",
                "thumb": "http://www.shop777.com/static/upload/images/1/2024/07/6b73bd22ee2b3095db22ca159bcef461.jpg",
                "id": 93629,
                "begin_time": "2024-07-01 16:40:34",
                "end_time": "2025-07-01 00:00:00",
                "status_name": null,
                "estimated_commission": 0,
                "vip_price": "0.00",
                "activity_status": 2
            }
        ],
        "first_page_url": "http://www.shop777.com/addons/yun_shop/api.php?page=1",
        "from": 1,
        "last_page": 1,
        "last_page_url": "http://www.shop777.com/addons/yun_shop/api.php?page=1",
        "links": [
            {
                "url": null,
                "label": "« 上一页",
                "active": false
            },
            {
                "url": "http://www.shop777.com/addons/yun_shop/api.php?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "下一页 »",
                "active": false
            }
        ],
        "next_page_url": null,
        "path": "http://www.shop777.com/addons/yun_shop/api.php",
        "per_page": 15,
        "prev_page_url": null,
        "to": 1,
        "total": 1
    },
}

错误时返回:


返回参数说明:

参数名 类型 说明
id int 商品id
title string 活动名称
thumb string 主图
end_time string 截至日期
activity_status int 活动状态 1未开始 ,2进行中,3已结束

备注:

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