简要描述:

请求URL:

GET/plugin.producer.frontend.producer.getList

参数:

参数名 是否必须 类型 说明

返回示例:

正确时返回:

{
    "result": 1,
    "msg": "成功",
    "data": {
        "data": {
            "total": 2,
            "per_page": 15,
            "current_page": 1,
            "last_page": 1,
            "next_page_url": null,
            "prev_page_url": null,
            "from": 1,
            "to": 2,
            "data": [
                {
                    "id": 3,
                    "uniacid": 3,
                    "producer_name": "哈尔滨大润发1",
                    "logo": "image/9c3edf1435bf0cf2efa525696cf217b7.jpg",
                    "business_license": [
                        "image/9c3edf1435bf0cf2efa525696cf217b7.jpg"
                    ],
                    "created_at": "2020-11-19 15:02:58",
                    "updated_at": "2020-11-19 15:17:48",
                    "deleted_at": null,
                    "goods_list": [
                        {
                            "id": 5,
                            "thumb": "image/9c3edf1435bf0cf2efa525696cf217b7.jpg",
                            "title": "换机油",
                            "price": "50.00",
                            "thumb_url": "http://mdzz.cc/attachment/image/9c3edf1435bf0cf2efa525696cf217b7.jpg"
                        }
                    ],
					"sell_total": 0,
                    "address_name": "黑龙江省 - 哈尔滨市 - 道里区",
                    "logo_url": "http://mdzz.cc/attachment/image/9c3edf1435bf0cf2efa525696cf217b7.jpg",
                    "business_license_url": [
                        "http://mdzz.cc/attachment/image/9c3edf1435bf0cf2efa525696cf217b7.jpg"
                    ]
                }
            ]
        }
    }
}

错误时返回:

返回参数说明:

参数名 类型 说明
id int 厂家id
producer_name str 厂家名称
logo_url str 厂家logo
sell_total int 热销x件
goods_list arr 厂家商品数组
goods_list->id int 商品id
goods_list->title str 商品名称
goods_list->thumb_url str 商品图片
goods_list->price float 商品价格