# 秒杀

# 列表

  • 请求地址:goods.second/index

  • 请求方式:GET

  • 需要授权:否

请求参数

参数 类型 描述
page int 页码
type int 时间段

返回结果

// 成功返回
{
    "code": 1, 
    "msg": "ok", 
    "data": {
        "list": [
            {
                "id": 9, 
                "title": "真皮妈妈包", 
                "store_nums": 100, 
                "sum_count": 0, 
                "photo": "http://a3.top/uploads/images/20210922/ce02fd0e02eb29312315ef30c8110f43.jpg", 
                "price": "249.00", 
                "sell_price": "339.00", 
                "sale": 0, 
                "progress": 0
            }
        ], 
        "page": 1, 
        "total": 1, 
        "size": 10
    }
}
// 失败返回
{
    "msg":"",
    "code":0
}

# 详情

  • 请求地址:goods.second/view

  • 请求方式:GET

  • 需要授权:否

请求参数

参数 类型 描述
id int 商品id

返回结果

// 成功返回
{
    "code": 1, 
    "msg": "ok", 
    "data": {
        "photo": [
            "http://a3.top/uploads/images/20210922/ce02fd0e02eb29312315ef30c8110f43.jpg"
        ], 
        "attr": [ ], 
        "item": [ ], 
        "goods": {
            "id": 9, 
            "title": "真皮妈妈包", 
            "photo": "http://a3.top/uploads/images/20210922/ce02fd0e02eb29312315ef30c8110f43.jpg", 
            "sell_price": "339.00", 
            "market_price": "528.00", 
            "store_nums": 518, 
            "sale": 0, 
            "visit": 0, 
            "content": "<p><img src=\"http://a3.top/uploads/images/20210922/4d6df21d534525fab7cb7287ca310c42.jpg\" style=\"max-width: 100%; display: block; margin:0 auto;\"/></p><p><br/></p>", 
            "start_time": 1632153600, 
            "end_time": 1665936000, 
            "now_time": 1632965037
        }, 
        "comments": [ ], 
        "seller": {
            "type": 1, 
            "shop_name": "三彩旗舰店", 
            "avatar": "http://a3.top/static/images/avatar.png", 
            "shop_desccredit": "5.00", 
            "shop_service": "5.00", 
            "shop_deliver": "5.00", 
            "shop_collect_count": 0
        }, 
        "goods_params": [ ], 
        "recommend": [
            {
                "id": 12, 
                "title": "海信65E3F 65英寸4K智慧全面屏电视机智能网络高清平板液晶 55 75", 
                "photo": "http://a3.top/uploads/images/20210921/954abf15c08d6eb3034d65e0c8aac6d6.png", 
                "sell_price": "3499.00", 
                "market_price": "3599.00", 
                "store_nums": 821
            }, 
            {
                "id": 13, 
                "title": "日式陶瓷白酒杯清酒杯古风酒具套装小酒杯一口杯分酒器", 
                "photo": "http://a3.top/uploads/images/20210921/0c79b71bfabf6b7b0b91bc651947f4fc.jpg", 
                "sell_price": "29.80", 
                "market_price": "37.00", 
                "store_nums": 320
            }, 
            {
                "id": 14, 
                "title": "日式白酒杯锤纹玻璃清酒壶套装家用小号清酒杯子透明酒具分酒器", 
                "photo": "http://a3.top/uploads/images/20210921/71215bd6fa8ef9b1e38a8a3e6d49ba20.jpg", 
                "sell_price": "95.00", 
                "market_price": "115.00", 
                "store_nums": 841
            }, 
            {
                "id": 15, 
                "title": "SUNTORY Hibiki宾三得利响和风醇韵 日本进口威士忌洋酒行货", 
                "photo": "http://a3.top/uploads/images/20210921/a6d17f05ca6f05f810c2303f7c579d72.jpg", 
                "sell_price": "1412.00", 
                "market_price": "1765.00", 
                "store_nums": 4120
            }, 
            {
                "id": 16, 
                "title": "日本直邮SUNTORY三得利山崎12年单一麦芽威士忌43度700ml附礼盒", 
                "photo": "http://a3.top/uploads/images/20210921/200f5c18a2b1ee2724865018e2c0adcb.jpg", 
                "sell_price": "2377.00", 
                "market_price": "2722.00", 
                "store_nums": 592
            }, 
            {
                "id": 19, 
                "title": "入门级数码VLOG摄像机高清手持DV摄影机录像机旅游家用学生4K摄录", 
                "photo": "http://a3.top/uploads/images/20210921/c71c8dfdcb2bd0b9bd5a719c98b45f89.jpg", 
                "sell_price": "859.00", 
                "market_price": "929.00", 
                "store_nums": 512
            }, 
            {
                "id": 20, 
                "title": "CHARLES&KEITH秋季女包CK2-80680780-1女士小方包翻盖单肩信封包", 
                "photo": "http://a3.top/uploads/images/20210921/d50a1761c53819c7480aee35982b86c6.png", 
                "sell_price": "299.00", 
                "market_price": "399.00", 
                "store_nums": 1235
            }, 
            {
                "id": 22, 
                "title": "松下电动剃须刀充电式往复式全身水洗刮胡刀子男士电动胡须刀正品", 
                "photo": "http://a3.top/uploads/images/20210922/df7c3d5a400f38f8d7d7d4d84633868d.jpg", 
                "sell_price": "159.00", 
                "market_price": "189.00", 
                "store_nums": 120
            }
        ], 
        "service": [
            {
                "name": "48小时发货", 
                "content": "若超时未发货,消费者收到至少3元无门槛红包"
            }, 
            {
                "name": "7天无理由退货", 
                "content": "满足相应条件,消费者可申请7天无理由退货"
            }
        ]
    }
}
// 失败返回
{
    "msg":"",
    "code":0
}