简要描述:
- 门店油站列表
请求域名:
- http://xx.com
请求URL:
GET/plugin.store-oil-station.frontend.unpaid-order.store
参数:
参数名 | 是否必须 | 类型 | 说明 |
---|---|---|---|
lng | 否 | float | 经度 |
lat | 否 | float | 纬度 |
city | 否 | string | 城市名称 |
name | 否 | string | 门店名称 |
返回示例:
正确时返回:
{
"result": 1,
"msg": "store list",
"data": {
"current_page": 1,
"data": [
{
"id": 8,
"uniacid": 6,
"uid": 2462,
"store_name": "轻微的",
"banner_thumb": "http://localhost/attachment/images/6/2018/04/yCfnKfcWicKXATi5fKI0watW8K0tz0.jpg",
"thumb": "http://demo.yun.cn/static/upload/images/6/2021/12/mojian.jpg",
"category_id": "11",
"province_id": 440000,
"city_id": 440100,
"district_id": 440111,
"street_id": 440111008,
"address": "我的缺点",
"longitude": "113.268857",
"latitude": "23.200479",
"mobile": "15012345678",
"store_introduce": "213饿1",
"template_id": "",
"cashier_id": 176,
"created_at": "2018-08-08 09:43:41",
"business_hours_start": "01:04",
"business_hours_end": "23:55",
"affiche": "",
"user_uid": 26,
"is_black": 0,
"information": "",
"is_hide": 0,
"specify_show": 0,
"operating_state": 1,
"audio_open": 0,
"boss_uid": 0,
"initials": "G",
"validity": 0,
"validity_status": 0,
"other_imgs": null,
"yun_horn": "",
"zkc_pay": null,
"salt": "AZNszpX9",
"home_store_url": null,
"goods_store_url": null,
"collect_money_url": null,
"payment_jump_minapp": null,
"payment_jump_h5": null,
"is_open_jump": 0,
"separate_payment_jump_minapp": null,
"separate_payment_jump_h5": null,
"balance_id": 0,
"distance": 87.5876246211785,
"text_info": {
"detail_text1": "详情1111",
"detail_text2": "详情2222",
"coupon_price_text1": "劵后价文",
"coupon_price": "100",
"coupon_price_text2": "测试",
"member_price_text1": "会员价",
"member_price": "200",
"member_price_text2": "二11",
"label_arr": [
"31121",
"萨达"
],
"nav_label_arr": [
"距离优先",
"加油送"
]
},
"is_default": 1,
"full_address": "广东省 广州市 白云区 新市街道 我的缺点",
"unit": "m",
"order_by": 87.5876246211785,
"oil_switch": 1,
"balance_activity_switch": 1,
"purview": {
"hide_phone": 1,
"hide_plate_number": 0
},
"oil_code": "CS123456789"
},
],
"last_page": 1,
"per_page": 10,
"total": 2
}
}
错误时返回:
返回参数说明:
参数名 | 类型 | 说明 |
---|---|---|
id | int | 门店ID |
sotre_name | string | 门店名称 |
thumb | string | 门店图片 |
full_address | string | 门店地址 |
longitude | string | 经度 |
latitude | string | 纬度 |
distance | string | 距离 |
unit | string | 距离单位 |
is_default | int | 默认油站:0否1是 |
text_info | array | 油站信息 |
text_info参数说明:
参数名 | 类型 | 说明 |
---|---|---|
detail_text1 | string | 油站详情自定义文本1 |
detail_text2 | string | 油站详情自定义文本2 |
label_arr | array | 油站详情标题 |
coupon_price_text1 | string | 劵后价文字 |
coupon_price | string | 劵后价 |
coupon_price_text2 | string | 劵后价下方文字 |
member_price_text1 | string | 会员价文字 |
member_price | string | 会员价 |
member_price_text2 | string | 会员价下方文字 |
nav_label_arr | array | 油站导航标签 |
备注:
- 更多返回错误代码请看首页的错误代码描述