简要描述:
-获取易加油的油站列表
请求域名:
- http://xx.com
请求URL:
POSt:plugin.easy-refuel.frontend.index.index
参数:
返回示例:
正确时返回:
{
"result": 1,
"msg": "成功",
"data": {
"data": {
"stationId": "2",
"stationName": "加德士石化坂田加油站",
"provinceName": "广东省 ",
"provinceId": 440000,
"cityName": "深圳市",
"latitude": "22.626108",
"longitude": "114.067607",
"location": "深圳市龙岗区布吉镇坂田五和大道南 80-1 石化工业村旁",
"starNum": "4.4",
"phone": "0755-28226736",
"stationPic": "https://img.ejiayou.com/uploadPic/Image/2019/11/1574053292482.jpg",
"stationBannerPic": "https://img.ejiayou.com/uploadPic/Image/2019/11/1574068867286.jpg",
"prices": [
{
"oilId": "1",
"oilCode": "92#",
"oilType": "1",
"countryPrice": "6.82",
"stationPrice": "6.82",
"discountPrice": "6.62",
"oilgunCodes": [
"10",
"14",
"18",
"2",
"21",
"24",
"27",
"6"
]
},
},
"userPhone": "13800138000",
"banner": {
"home": "http://wx.qlogo.cn/mmopen/q9dUzwx5OmCVeRU5kjl4tavwEGbJCe78M9caGUUBHMIV8fwX8njVq3quhic3PgS02rwVREC7ympGYz9ZS8180Aq86gBkZefkK/132",
"wap_jump": "12311",
"small_jump": "12311",
},
}
}
错误时返回:
{
"result": 0,
"msg": "请先绑定手机号",
"data": {
"bindPhone" : 1
}
}
{
"result": 0,
"msg": "msg(第三方接口返回的信息)",
"data": []
}
banner参数说明:
参数名 | 类型 | 说明 |
---|---|---|
home_one | string | 轮播图 |
home_one_jump | string | 轮播图wap端跳转地址 |
home_one_small | string | 轮播图小程序的跳转地址 |
home_two | string | 轮播图 |
home_two_jump | string | 轮播图wap端跳转地址 |
home_two_small | string | 轮播图小程序的跳转地址 |
home_three | string | 轮播图 |
home_three_jump | string | 轮播图wap端跳转地址 |
home_three_small | string | 轮播图小程序的跳转地址 |