跳转到内容

获取商品门店

POST app/cakeapp/getLocalShopList
{
"code": 0,
"data": {
"list": [
{
"id": 1,
"created_at": 1674828317,
"updated_at": 1674828317,
"shop_id": "1130298",
"shop_name": "米兰西饼生日蛋糕",
"phone": "18637265605",
"lng": "114.36066",
"lat": "36.105225",
"address": "河南省安阳市文峰中路口腔医院西侧",
"brand_id": "102360",
"brand_name": "米兰西饼",
"city_id": "1",
"city_name": "安阳市",
"status": 1
}
],
"total": 4088,
"page": 0,
"pageSize": 0,
"next_url": ""
},
"msg": "获取成功"
}
参数名 类型 示例值 说明
rule_id string 3783 配送规则id
select string 0 当前选中addr_id
brand_id string 47 品牌id
city object {} 城市信息
city[id] string 2 城市id
city[name] string 北京市 城市名称
city[code] string 100100 检索码(每一级3位编码,及100,100100,100100100)
city[first_letter] string B 城市首字母
city[sort_num] string 0 排序值
city[created_at] string 2014-09-18 18:15:29 创建时间
city[hot] string 1 热度
city[brand_count] 178 164589 品牌门店数量
city[deleted] int 0
city[is_open] int 0 此字段暂无使用
shops[] array [] 门店列表
shops[shop_id] string 1117097 门店id
shops[shop_name] string 通州三间房 门店名称
shops[phone] string 4001-170-170 门店电话
shops[lat] string 39.886228 门店纬度
shops[lng] string 116.677745 门店经度
shops[address] string 北京市通州区梨园北街186号 门店地址