简要描述:

  • 页面设计: 分类轮播图

请求URL:

GET/route=plugin.web-design.frontend.recommend.index

返回示例:

正确时返回:

{
    "result": 1,
    "msg": "ok",
    "data": {
        "current_page": 1,
        "data": [
            {
                "id": 1,
                "uniacid": 1,
                "brand_id": 0,
                "type": 1,
                "status": 1,
                "display_order": 0,
                "title": "指尖美甲",
                "thumb": "https://dev8.yunzmall.com/static/upload/newimage/a76f8983d6913ede16d1ba60abbb38f8.png",
                "thumb_url": null,
                "sku": "个",
                "goods_sn": "",
                "product_sn": "",
                "market_price": "1.00",
                "price": "1.00",
                "cost_price": "1.00",
                "stock": 9999998,
                "reduce_stock_method": 0,
                "show_sales": 1,
                "real_sales": 1,
                "weight": "0.00",
                "has_option": 0,
                "is_new": 0,
                "is_hot": 0,
                "is_discount": 0,
                "is_recommand": 0,
                "is_comment": 0,
                "is_deleted": 0,
                "created_at": "2019-04-15 18:01:25",
                "deleted_at": null,
                "updated_at": "2021-10-21 19:28:29",
                "comment_num": 0,
                "is_plugin": 0,
                "plugin_id": 31,
                "virtual_sales": 0,
                "no_refund": 0,
                "need_address": 0,
                "type2": 1,
                "old_id": null,
                "volume": null,
                "goods_video": null,
                "vip_price": "1.00",
                "next_level_price": "0.90",
                "has_many_goods_discount": [
                    {
                        "id": 49311,
                        "goods_id": 1,
                        "level_discount_type": 1,
                        "discount_method": 1,
                        "level_id": 1,
                        "discount_value": "9",
                        "created_at": "2021-07-08 15:32:28",
                        "updated_at": "2021-07-08 15:32:28",
                        "deleted_at": null
                    },
                    {
                        "id": 49312,
                        "goods_id": 1,
                        "level_discount_type": 1,
                        "discount_method": 1,
                        "level_id": 2,
                        "discount_value": "8",
                        "created_at": "2021-07-08 15:32:28",
                        "updated_at": "2021-07-08 15:32:28",
                        "deleted_at": null
                    },
                    {
                        "id": 49313,
                        "goods_id": 1,
                        "level_discount_type": 1,
                        "discount_method": 1,
                        "level_id": 6,
                        "discount_value": null,
                        "created_at": "2021-07-08 15:32:28",
                        "updated_at": "2021-07-08 15:32:28",
                        "deleted_at": null
                    }
                ]
            }
        ],
        "first_page_url": "https://dev8.yunzmall.com/addons/yun_shop/api.php?page=1",
        "from": 1,
        "last_page": 11654,
        "last_page_url": "https://dev8.yunzmall.com/addons/yun_shop/api.php?page=11654",
        "next_page_url": "https://dev8.yunzmall.com/addons/yun_shop/api.php?page=2",
        "path": "https://dev8.yunzmall.com/addons/yun_shop/api.php",
        "per_page": 1,
        "prev_page_url": null,
        "to": 1,
        "total": 11654
    }
}