简要描述:
-门店自提方式获取距离由近到远门店列表
请求域名:
- http://xx.com
请求URL:
plugin.chain-store.frontend.controller.index.store-list
请求参数说明:
参数名 | 类型 | 是否必需 | 说明 |
---|---|---|---|
lng | float | 是 | 经度 |
lat | float | 是 | 纬度 |
city_name | string | 否 | 城市名 |
keyword | string | 否 | 门店搜索关键词 |
返回示例:
正确时返回:
{
result: 1,
msg: "success",
data: {
list: [
{
id: 79,
province_id: 440000,
city_id: 440100,
district_id: 440111,
street_id: 440111008,
mobile: "13245678916",
store_name: "门店13216",
thumb: "https://dev4.yunzmall.com/attachment/image/1d307df6e600cc6bece13ba3e0cf6220.jpg",
latitude: "23.204011",
longitude: "113.271808",
dispatch_type: [
"1",
"2"
],
specify_show: 0,
business_hours_start: "23:53",
business_hours_end: "23:51",
operating_state: 0,
distance: 67037,
thumb_src: "https://dev4.yunzmall.com/attachment/image/1d307df6e600cc6bece13ba3e0cf6220.jpg",
member: null
store_address: "广东省 广州市 白云区 新市街道"
},
{
id: 81,
province_id: 440000,
city_id: 440100,
district_id: 440106,
street_id: 440106001,
mobile: "15778342353",
store_name: "门店157",
thumb: "image/d4d0368f45ba4214b3b46888d03ce11b.jpeg",
latitude: "23.191411",
longitude: "113.266943",
dispatch_type: [
1,
2,
3
],
specify_show: 0,
business_hours_start: "23:53",
business_hours_end: "23:51",
operating_state: 0,
distance: 68347,
thumb_src: "https://dev4.yunzmall.com/attachment/image/d4d0368f45ba4214b3b46888d03ce11b.jpeg",
member: null
store_address: "广东省 广州市 白云区 新市街道"
},
]
}
}
错误时返回:
{
"result": 0,
"msg": "请登录",
"data": []
}
返回参数说明:
参数名 | 类型 | 说明 |
---|---|---|
id | id | 门店ID |
store_name | string | 门店名称 |
store_address | string | 门店地址 |
mobile | string | 门店电话 |
latitude | string | 门店纬度 |
longitude | string | 门店经度 |
business_hours_start | string | 营业开始时间 |
business_hours_end | string | 营业结束时间 |