简要描述:

  • 周边游-销量排序商品列表

请求URL:

GET/route=plugin.travel-around.frontend.index.index.getGoodsByShowSales

参数:

参数名 类型 说明
page int 分页
city string 站点名称
cityCode string 城市编码

返回示例:

正确时返回:

{
    "result": 1,
    "msg": "获取成功",
    "data": {
        "current_page": 1,
        "data": [
            {
                "id": 3728,
                "title": "火锅",
                "thumb": "https://ll-oss-debug.oss-cn-beijing.aliyuncs.com/lianlian/design/cef201bc63ed4d0cb941e6b64a0b06d4.png",
                "price": "140.00",
                "market_price": "140.00",
                "show_sales": 11,
                "status_name": null,
                "has_one_travel_around_goods": {
                    "long_title": "",
                    "goods_id": 3728
                }
            },
            {
                "id": 3726,
                "title": "BURGER QUEEN",
                "thumb": "https://ll-oss-debug.oss-cn-beijing.aliyuncs.com/lianlian/design/cef201bc63ed4d0cb941e6b64a0b06d4.png",
                "price": "40.00",
                "market_price": "40.00",
                "show_sales": 3,
                "status_name": null,
                "has_one_travel_around_goods": {
                    "long_title": "",
                    "goods_id": 3726
                }
            },
            {
                "id": 3725,
                "title": "火锅",
                "thumb": "https://ll-oss-debug.oss-cn-beijing.aliyuncs.com/lianlian/design/cef201bc63ed4d0cb941e6b64a0b06d4.png",
                "price": "140.00",
                "market_price": "140.00",
                "show_sales": 1,
                "status_name": null,
                "has_one_travel_around_goods": {
                    "long_title": "",
                    "goods_id": 3725
                }
            },
            {
                "id": 3743,
                "title": "糖耳朵",
                "thumb": "https://ll-oss-debug.oss-cn-beijing.aliyuncs.com/lianlian/design/cef201bc63ed4d0cb941e6b64a0b06d4.png",
                "price": "40.00",
                "market_price": "0.45",
                "show_sales": 1,
                "status_name": null,
                "has_one_travel_around_goods": {
                    "long_title": "",
                    "goods_id": 3743
                }
            },
            {
                "id": 3763,
                "title": "糖耳朵",
                "thumb": "https://ll-oss-debug.oss-cn-beijing.aliyuncs.com/lianlian/design/cef201bc63ed4d0cb941e6b64a0b06d4.png",
                "price": "40.00",
                "market_price": "45.00",
                "show_sales": 1,
                "status_name": null,
                "has_one_travel_around_goods": {
                    "long_title": "",
                    "goods_id": 3763
                }
            },
            {
                "id": 3710,
                "title": "糖耳朵",
                "thumb": "https://ll-oss-debug.oss-cn-beijing.aliyuncs.com/lianlian/design/cef201bc63ed4d0cb941e6b64a0b06d4.png",
                "price": "40.00",
                "market_price": "40.00",
                "show_sales": 0,
                "status_name": null,
                "has_one_travel_around_goods": {
                    "long_title": "",
                    "goods_id": 3710
                }
            },
            {
                "id": 3727,
                "title": "BURGER QUEEN",
                "thumb": "https://ll-oss-debug.oss-cn-beijing.aliyuncs.com/lianlian/design/cef201bc63ed4d0cb941e6b64a0b06d4.png",
                "price": "40.00",
                "market_price": "40.00",
                "show_sales": 0,
                "status_name": null,
                "has_one_travel_around_goods": {
                    "long_title": "",
                    "goods_id": 3727
                }
            },
            {
                "id": 3729,
                "title": "麻辣烫",
                "thumb": "https://ll-oss-debug.oss-cn-beijing.aliyuncs.com/lianlian/design/cef201bc63ed4d0cb941e6b64a0b06d4.png",
                "price": "16.00",
                "market_price": "16.00",
                "show_sales": 0,
                "status_name": null,
                "has_one_travel_around_goods": {
                    "long_title": "",
                    "goods_id": 3729
                }
            },
            {
                "id": 3730,
                "title": "麻辣兔头",
                "thumb": "https://ll-oss-debug.oss-cn-beijing.aliyuncs.com/lianlian/design/cef201bc63ed4d0cb941e6b64a0b06d4.png",
                "price": "90.00",
                "market_price": "90.00",
                "show_sales": 0,
                "status_name": null,
                "has_one_travel_around_goods": {
                    "long_title": "",
                    "goods_id": 3730
                }
            },
            {
                "id": 3731,
                "title": "醪糟汤圆",
                "thumb": "https://ll-oss-debug.oss-cn-beijing.aliyuncs.com/lianlian/design/cef201bc63ed4d0cb941e6b64a0b06d4.png",
                "price": "16.00",
                "market_price": "16.00",
                "show_sales": 0,
                "status_name": null,
                "has_one_travel_around_goods": {
                    "long_title": "",
                    "goods_id": 3731
                }
            },
            {
                "id": 3732,
                "title": "披萨",
                "thumb": "https://ll-oss-debug.oss-cn-beijing.aliyuncs.com/lianlian/design/cef201bc63ed4d0cb941e6b64a0b06d4.png",
                "price": "25.00",
                "market_price": "25.00",
                "show_sales": 0,
                "status_name": null,
                "has_one_travel_around_goods": {
                    "long_title": "",
                    "goods_id": 3732
                }
            },
            {
                "id": 3733,
                "title": "豌杂面",
                "thumb": "https://ll-oss-debug.oss-cn-beijing.aliyuncs.com/lianlian/design/cef201bc63ed4d0cb941e6b64a0b06d4.png",
                "price": "14.00",
                "market_price": "14.00",
                "show_sales": 0,
                "status_name": null,
                "has_one_travel_around_goods": {
                    "long_title": "",
                    "goods_id": 3733
                }
            },
            {
                "id": 3734,
                "title": "鱼腥草凉拌折耳根",
                "thumb": "https://ll-oss-debug.oss-cn-beijing.aliyuncs.com/lianlian/design/cef201bc63ed4d0cb941e6b64a0b06d4.png",
                "price": "8.00",
                "market_price": "8.00",
                "show_sales": 0,
                "status_name": null,
                "has_one_travel_around_goods": {
                    "long_title": "",
                    "goods_id": 3734
                }
            },
            {
                "id": 3735,
                "title": "老北京炸酱面",
                "thumb": "https://ll-oss-debug.oss-cn-beijing.aliyuncs.com/lianlian/design/cef201bc63ed4d0cb941e6b64a0b06d4.png",
                "price": "128.00",
                "market_price": "128.00",
                "show_sales": 0,
                "status_name": null,
                "has_one_travel_around_goods": {
                    "long_title": "",
                    "goods_id": 3735
                }
            },
            {
                "id": 3736,
                "title": "驴打滚",
                "thumb": "https://ll-oss-debug.oss-cn-beijing.aliyuncs.com/lianlian/design/cef201bc63ed4d0cb941e6b64a0b06d4.png",
                "price": "13.00",
                "market_price": "13.00",
                "show_sales": 0,
                "status_name": null,
                "has_one_travel_around_goods": {
                    "long_title": "",
                    "goods_id": 3736
                }
            },
            {
                "id": 3737,
                "title": "豆汁",
                "thumb": "https://ll-oss-debug.oss-cn-beijing.aliyuncs.com/lianlian/design/cef201bc63ed4d0cb941e6b64a0b06d4.png",
                "price": "16.00",
                "market_price": "16.00",
                "show_sales": 0,
                "status_name": null,
                "has_one_travel_around_goods": {
                    "long_title": "",
                    "goods_id": 3737
                }
            },
            {
                "id": 3738,
                "title": "炒肝",
                "thumb": "https://ll-oss-debug.oss-cn-beijing.aliyuncs.com/lianlian/design/cef201bc63ed4d0cb941e6b64a0b06d4.png",
                "price": "16.00",
                "market_price": "16.00",
                "show_sales": 0,
                "status_name": null,
                "has_one_travel_around_goods": {
                    "long_title": "",
                    "goods_id": 3738
                }
            },
            {
                "id": 3739,
                "title": "爆肚",
                "thumb": "https://ll-oss-debug.oss-cn-beijing.aliyuncs.com/lianlian/design/cef201bc63ed4d0cb941e6b64a0b06d4.png",
                "price": "16.00",
                "market_price": "16.00",
                "show_sales": 0,
                "status_name": null,
                "has_one_travel_around_goods": {
                    "long_title": "",
                    "goods_id": 3739
                }
            },
            {
                "id": 3740,
                "title": "焦圈",
                "thumb": "https://ll-oss-debug.oss-cn-beijing.aliyuncs.com/lianlian/design/cef201bc63ed4d0cb941e6b64a0b06d4.png",
                "price": "90.00",
                "market_price": "90.00",
                "show_sales": 0,
                "status_name": null,
                "has_one_travel_around_goods": {
                    "long_title": "",
                    "goods_id": 3740
                }
            },
            {
                "id": 3741,
                "title": "豌豆黄",
                "thumb": "https://ll-oss-debug.oss-cn-beijing.aliyuncs.com/lianlian/design/cef201bc63ed4d0cb941e6b64a0b06d4.png",
                "price": "16.00",
                "market_price": "16.00",
                "show_sales": 0,
                "status_name": null,
                "has_one_travel_around_goods": {
                    "long_title": "",
                    "goods_id": 3741
                }
            }
        ],
        "first_page_url": "http://shop/addons/yun_shop/api.php?page=1",
        "from": 1,
        "last_page": 61,
        "last_page_url": "http://shop/addons/yun_shop/api.php?page=61",
        "next_page_url": "http://shop/addons/yun_shop/api.php?page=2",
        "path": "http://shop/addons/yun_shop/api.php",
        "per_page": 20,
        "prev_page_url": null,
        "to": 20,
        "total": 1220
    }
}

goods:

参数名 类型 说明
id int id
title string 商品名称
thumb string 图片
price string 售价
market_price string 市场价
show_sales int 销量
has_one_travel_around_goods array 周边游商品内容

has_one_travel_around_goods 分类:

参数名 类型 说明
long_title string 长标题