首页接口
阿猎 edytuje tę stronę 6 lat temu

简要描述:

banner图,首页分类列表接口 请求URL:

/api/GoodsCate/syList 请求方式:

POST 参数: 无

返回示例

{

"banner": [
    {
        "banner_name": "伊甸面粉",
        "image_url": "http://ouxv2yvsf.bkt.clouddn.com/20180508/5af14e328246b.jpg",
        "banner_type": "1",
        "cate_id": "4"
    }
],
"list": [
    {
        "cate_id": "1",
        "cate_name": "食材",
        "image_url": "http://ouxv2yvsf.bkt.clouddn.com/20180101/5a49289be3fff.jpg",
        "goods": [
            {
                "goods_id": "123",
                "goods_name": "伊甸甜菜根",
                "image_url": "http://ouxv2yvsf.bkt.clouddn.com/20180508/5af14fc9d7aa3.jpg",
                "market_price": "12.00",
                "group_price": "12.00",
                "price": 12
            }
        ]
    },
    {
        "cate_id": "17",
        "cate_name": "点餐",
        "image_url": "",
        "goods": [
            {
                "goods_id": "134",
                "goods_name": "888元套餐",
                "image_url": "http://ouxv2yvsf.bkt.clouddn.com/20180812/5b6fa4d34b5f6.jpg",
                "market_price": "888.00",
                "group_price": "688.00",
                "price": "688.00"
            }
        ]
    }
],
"result": "ok"

} 返回参数说明

备注

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