首页数据


简要描述:

首页中的幻灯片和分类商品数据

请求URL:

  • https://demo-open-admin.ibrand.cc/api/home

请求方式:

  • POST

    返回示例

{
    "status": true,
    "code": 200,
    "data": {
        "carousels": [
            {
                "id": 1,
                "advert_id": 4,
                "name": "",
                "image": "",
                "link": "",
                "sort": 99,
                "meta": null,
                "created_at": "2018-09-11 13:41:13",
                "updated_at": "2018-09-11 13:41:13"
            }
        ],
        "categories": [
            {
                "id": 2,
                "advert_id": 5,
                "name": "男童 T恤/衬衫",
                "image": "http://open.dmp.com/img/c1.png",
                "link": "/pages/store/list/list?c_id=3",
                "sort": 99,
                "meta": null,
                "created_at": "2018-09-11 13:41:13",
                "updated_at": "2018-09-11 13:41:13"
            },
            {
                "id": 3,
                "advert_id": 5,
                "name": "女童 T恤/衬衫",
                "image": "http://open.dmp.com/img/c2.png",
                "link": "/pages/store/list/list?c_id=6",
                "sort": 99,
                "meta": null,
                "created_at": "2018-09-11 13:41:13",
                "updated_at": "2018-09-11 13:41:13"
            },
            {
                "id": 4,
                "advert_id": 5,
                "name": "男童 裤装",
                "image": "http://open.dmp.com/img/c3.png",
                "link": "/pages/store/list/list?c_id=12",
                "sort": 99,
                "meta": null,
                "created_at": "2018-09-11 13:41:13",
                "updated_at": "2018-09-11 13:41:13"
            },
            {
                "id": 5,
                "advert_id": 5,
                "name": "女童 裤装",
                "image": "http://open.dmp.com/img/c4.png",
                "link": "/pages/store/list/list?c_id=12",
                "sort": 99,
                "meta": null,
                "created_at": "2018-09-11 13:41:13",
                "updated_at": "2018-09-11 13:41:13"
            },
            {
                "id": 6,
                "advert_id": 5,
                "name": "连衣裙",
                "image": "http://open.dmp.com/img/c5.png",
                "link": "/pages/store/list/list?c_id=12",
                "sort": 99,
                "meta": null,
                "created_at": "2018-09-11 13:41:13",
                "updated_at": "2018-09-11 13:41:13"
            },
            {
                "id": 7,
                "advert_id": 5,
                "name": "亲子装",
                "image": "http://open.dmp.com/img/c6.png",
                "link": "/pages/store/list/list?c_id=12",
                "sort": 99,
                "meta": null,
                "created_at": "2018-09-11 13:41:13",
                "updated_at": "2018-09-11 13:41:13"
            }
        ],
        "boysGoods": [
            {
                "id": 8,
                "name": "女童连衣裙夏季2017新款韩版卡通无袖公主连衣裙",
                "goods_no": "YLY103",
                "brand_id": 1,
                "model_id": 2,
                "min_price": "135.00",
                "max_price": "135.00",
                "sell_price": "135.00",
                "market_price": "269.00",
                "min_market_price": "269.00",
                "weight": null,
                "store_nums": 178,
                "img": "http://admin.viperky.com/uploads/rDJ3wYd7qK.jpg",
                "content": "<p style=\"margin-top: 0px; margin-bottom: 0px; padding: 0px; line-height: 1.5; clear: both; color: rgb(51, 51, 51); font-family: &quot;Hiragino Sans GB&quot;, Tahoma, Arial, 宋体, sans-serif; font-size: 12px; white-space: normal;\"><img alt=\"undefined\" src=\"https://cbu01.alicdn.com/img/ibank/2017/844/753/3971357448_885594632.jpg\" style=\"border: none; visibility: visible; vertical-align: bottom; max-width: 790px; zoom: 1;\"/><img alt=\"undefined\" src=\"https://cbu01.alicdn.com/img/ibank/2017/600/442/3974244006_885594632.jpg\" style=\"border: none; visibility: visible; vertical-align: bottom; max-width: 790px; zoom: 1;\"/><img alt=\"undefined\" src=\"https://cbu01.alicdn.com/img/ibank/2017/356/271/3972172653_885594632.jpg\" style=\"border: none; visibility: visible; vertical-align: bottom; max-width: 790px; zoom: 1;\"/><img alt=\"undefined\" src=\"https://cbu01.alicdn.com/img/ibank/2017/964/571/3972175469_885594632.jpg\" style=\"border: none; visibility: visible; vertical-align: bottom; max-width: 790px; zoom: 1;\"/><img alt=\"undefined\" src=\"https://cbu01.alicdn.com/img/ibank/2017/553/063/3971360355_885594632.jpg\" style=\"border: none; visibility: visible; vertical-align: bottom; max-width: 790px; zoom: 1;\"/><img alt=\"undefined\" src=\"https://cbu01.alicdn.com/img/ibank/2017/011/142/3974241110_885594632.jpg\" style=\"border: none; visibility: visible; vertical-align: bottom; max-width: 790px; zoom: 1;\"/><img alt=\"undefined\" src=\"https://cbu01.alicdn.com/img/ibank/2017/839/661/3972166938_885594632.jpg\" style=\"border: none; visibility: visible; vertical-align: bottom; max-width: 790px; zoom: 1;\"/><img alt=\"undefined\" src=\"https://cbu01.alicdn.com/img/ibank/2017/760/871/3972178067_885594632.jpg\" style=\"border: none; visibility: visible; vertical-align: bottom; max-width: 790px; zoom: 1;\"/><img alt=\"undefined\" src=\"https://cbu01.alicdn.com/img/ibank/2017/517/922/3974229715_885594632.jpg\" style=\"border: none; visibility: visible; vertical-align: bottom; max-width: 790px; zoom: 1;\"/><img alt=\"undefined\" src=\"https://cbu01.alicdn.com/img/ibank/2017/743/832/3974238347_885594632.jpg\" style=\"border: none; visibility: visible; vertical-align: bottom; max-width: 790px; zoom: 1;\"/><img alt=\"undefined\" src=\"https://cbu01.alicdn.com/img/ibank/2017/328/232/3974232823_885594632.jpg\" style=\"border: none; visibility: visible; vertical-align: bottom; max-width: 790px; zoom: 1;\"/><img alt=\"undefined\" src=\"https://cbu01.alicdn.com/img/ibank/2017/128/453/3971354821_885594632.jpg\" style=\"border: none; visibility: visible; vertical-align: bottom; max-width: 790px; zoom: 1;\"/><img alt=\"undefined\" src=\"https://cbu01.alicdn.com/img/ibank/2017/894/532/3974235498_885594632.jpg\" style=\"border: none; visibility: visible; vertical-align: bottom; max-width: 790px; zoom: 1;\"/></p><p style=\"margin-top: 0px; margin-bottom: 0px; padding: 0px; line-height: 1.5; clear: both; color: rgb(51, 51, 51); font-family: &quot;Hiragino Sans GB&quot;, Tahoma, Arial, 宋体, sans-serif; font-size: 12px; white-space: normal;\"><img alt=\"undefined\" src=\"https://cbu01.alicdn.com/img/ibank/2017/195/753/3971357591_885594632.jpg\" style=\"border: none; visibility: visible; vertical-align: bottom; max-width: 790px; zoom: 1;\"/></p><p><br/></p>",
                "contentpc": null,
                "sync": 0,
                "comment_count": 0,
                "visit_count": 0,
                "favorite_count": 0,
                "sale_count": 8,
                "grade": 0,
                "tags": "卡通,公主",
                "keywords": "",
                "description": "",
                "is_del": 2,
                "is_largess": 0,
                "is_commend": 0,
                "is_new": 0,
                "collocation": null,
                "extra": "{\"video\":{\"status\":\"0\",\"url\":\"\"}}",
                "created_at": "2017-05-15 16:07:30",
                "updated_at": "2017-09-22 12:55:00",
                "deleted_at": null
            }
        ],
        "girlGoods": [
            {
                "id": 7,
                "name": "2017新款夏季撞色拼接绣花纱裙",
                "goods_no": "YLY104",
                "brand_id": 1,
                "model_id": 2,
                "min_price": "85.00",
                "max_price": "85.00",
                "sell_price": "85.00",
                "market_price": "169.00",
                "min_market_price": "169.00",
                "weight": null,
                "store_nums": 225,
                "img": "http://admin.viperky.com/uploads/pd8GFZNwWK.jpg",
                "content": "<p style=\"margin-top: 0px; margin-bottom: 0px; padding: 0px; line-height: 1.5; clear: both; color: rgb(51, 51, 51); font-family: &quot;Hiragino Sans GB&quot;, Tahoma, Arial, 宋体, sans-serif; font-size: 12px; white-space: normal;\"><img alt=\"undefined\" src=\"https://cbu01.alicdn.com/img/ibank/2017/372/835/4076538273_885594632.jpg\" style=\"border: none; visibility: visible; vertical-align: bottom; max-width: 790px; zoom: 1;\"/><br/><br/><img alt=\"undefined\" src=\"https://cbu01.alicdn.com/img/ibank/2017/757/925/4076529757_885594632.jpg\" style=\"border: none; visibility: visible; vertical-align: bottom; max-width: 790px; zoom: 1;\"/><br/><br/><img alt=\"undefined\" src=\"https://cbu01.alicdn.com/img/ibank/2017/284/235/4076532482_885594632.jpg\" style=\"border: none; visibility: visible; vertical-align: bottom; max-width: 790px; zoom: 1;\"/><br/><br/><img alt=\"undefined\" src=\"https://cbu01.alicdn.com/img/ibank/2017/604/284/4073482406_885594632.jpg\" style=\"border: none; visibility: visible; vertical-align: bottom; max-width: 790px; zoom: 1;\"/><img alt=\"undefined\" src=\"https://cbu01.alicdn.com/img/ibank/2017/193/145/4076541391_885594632.jpg\" style=\"border: none; visibility: visible; vertical-align: bottom; max-width: 790px; zoom: 1;\"/><br/><br/><img alt=\"undefined\" src=\"https://cbu01.alicdn.com/img/ibank/2017/732/884/4073488237_885594632.jpg\" style=\"border: none; visibility: visible; vertical-align: bottom; max-width: 790px; zoom: 1;\"/><br/><br/><img alt=\"undefined\" src=\"https://cbu01.alicdn.com/img/ibank/2017/212/900/4073009212_885594632.jpg\" style=\"border: none; visibility: visible; vertical-align: bottom; max-width: 790px; zoom: 1;\"/><br/><br/><img alt=\"undefined\" src=\"https://cbu01.alicdn.com/img/ibank/2017/146/535/4076535641_885594632.jpg\" style=\"border: none; visibility: visible; vertical-align: bottom; max-width: 790px; zoom: 1;\"/><br/><br/><br/><br/><img alt=\"undefined\" src=\"https://cbu01.alicdn.com/img/ibank/2017/857/000/4073000758_885594632.jpg\" style=\"border: none; visibility: visible; vertical-align: bottom; max-width: 790px; zoom: 1;\"/><br/><br/><img alt=\"undefined\" src=\"https://cbu01.alicdn.com/img/ibank/2017/031/584/4073485130_885594632.jpg\" style=\"border: none; visibility: visible; vertical-align: bottom; max-width: 790px; zoom: 1;\"/><br/><br/><img alt=\"undefined\" src=\"https://cbu01.alicdn.com/img/ibank/2017/065/974/4073479560_885594632.jpg\" style=\"border: none; visibility: visible; vertical-align: bottom; max-width: 790px; zoom: 1;\"/><br/><br/><img alt=\"undefined\" src=\"https://cbu01.alicdn.com/img/ibank/2017/599/325/4076523995_885594632.jpg\" style=\"border: none; visibility: visible; vertical-align: bottom; max-width: 790px; zoom: 1;\"/><br/><br/><img alt=\"undefined\" src=\"https://cbu01.alicdn.com/img/ibank/2017/018/625/4076526810_885594632.jpg\" style=\"border: none; visibility: visible; vertical-align: bottom; max-width: 790px; zoom: 1;\"/><br/><br/></p><p style=\"margin-top: 0px; margin-bottom: 0px; padding: 0px; line-height: 1.5; clear: both; color: rgb(51, 51, 51); font-family: &quot;Hiragino Sans GB&quot;, Tahoma, Arial, 宋体, sans-serif; font-size: 12px; white-space: normal;\"><img alt=\"undefined\" src=\"https://cbu01.alicdn.com/img/ibank/2017/604/284/4073482406_885594632.jpg\" style=\"border: none; visibility: visible; vertical-align: bottom; max-width: 790px; zoom: 1;\"/></p><p><br/></p>",
                "contentpc": null,
                "sync": 0,
                "comment_count": 0,
                "visit_count": 0,
                "favorite_count": 0,
                "sale_count": 5,
                "grade": 0,
                "tags": "公主,可爱",
                "keywords": "",
                "description": "",
                "is_del": 2,
                "is_largess": 0,
                "is_commend": 0,
                "is_new": 0,
                "collocation": null,
                "extra": "{\"video\":{\"status\":\"0\",\"url\":\"\"}}",
                "created_at": "2017-05-15 16:00:54",
                "updated_at": "2017-09-22 12:55:00",
                "deleted_at": null
            }
        ]
    }
}