POST/plugin.big-brand-ordering.api.store.index
传入参数说明:
| 参数名 | 类型 | 说明 |
|---|---|---|
| search[city_id] | string | 城市id 从城市列表接口里获取 |
| search[brand] | string | 品牌代号 从品牌列表里获取 |
| search[keyword] | string | 搜索关键词 |
| search[lng] | string | 经度 |
| search[lat] | string | 纬度 |
返回示例:
正确时返回:
{
"result": 1,
"msg": "",
"data": [
{
"address": "潜江市园林北路3号(老粮食局门口)",
"city": "潜江",
"cityId": 201,
"closeNote": "不支持",
"distancekm": null,
"endtime": "21:00",
"lat": "30.42003",
"lng": "112.896577",
"name": null,
"officialStatus": false,
"openStatus": null,
"starttime": "09:00",
"storeAddress": null,
"storeCode": "20300003098",
"storeId": null,
"storeName": "潜江园林北路店"
},
{
"address": "潜江市园林北路19号园林二中东侧",
"city": "潜江",
"cityId": 201,
"closeNote": null,
"distancekm": null,
"endtime": "22:00",
"lat": "30.416342",
"lng": "112.8933",
"name": null,
"officialStatus": true,
"openStatus": null,
"starttime": "08:00",
"storeAddress": null,
"storeCode": "20300006598",
"storeId": null,
"storeName": "潜江园林二中店"
}
]
}
错误时返回:
{
"errcode": 500,
"errmsg": "invalid appid"
}
返回参数说明:
| 参数名 | 类型 | 说明 |
|---|---|---|
| address | string | 门店地址 |
| distancekm | string | 距离,传了经纬度才有 |
| lng | string | 门店经度 |
| lat | string | 门店纬度 |
| starttime | string | 营业开始时间 |
| endtime | string | 营业结束时间 |
| storeName | string | 门店名称 |
| storeCode | string | 门店代号 |