简要描述:

  • 蛋糕叔叔-通过品牌获取店铺

请求URL:

GET/route=plugin.yz-supply-cake.frontend.index.index.getStoreByBrandId&brand_id=686&pageSize=1
参数名 类型 说明 是否必须
brand_id int 商城品牌id

返回示例:

正确时返回:

{
    "result": 1,
    "msg": "",
    "data": {
        "current_page": 1,
        "data": [
            {
			    "id": 1550,
                "shop_id": 1116424,
                "shop_name": "中基礼域店",
                "phone": "0311-89288558",
                "latitude": 38.058469,
                "longitude": 114.509231,
                "address": "石家庄市平安大街与栗中路交叉口东行100米路北中基礼域",
                "distance": 12127.426821761763
            }
        ],
        "first_page_url": "http://shop/addons/yun_shop/api.php?page=1",
        "from": 1,
        "last_page": 7,
        "last_page_url": "http://shop/addons/yun_shop/api.php?page=7",
        "next_page_url": "http://shop/addons/yun_shop/api.php?page=2",
        "path": "http://shop/addons/yun_shop/api.php",
        "per_page": "1",
        "prev_page_url": null,
        "to": 1,
        "total": 7
    }
}
参数名 类型 说明