1) 请求地址
2) 调用方式:HTTP post
3) 接口描述:
4) 请求参数:
{
"latitude": "29.563009", //坐标
"longitude": "106.551556",//坐标
"sortMode": 5,
"isRentCar": 0,
"isBooking": 0,
"isCharge": 0,
"primaryParkSource": "",
"isJpark": 0,
"distance": 500,
"pageIndex": 1,
"pageSize": 10
}
5) 请求返回结果:
{
"code": "0",
"message": null,
"success": true,
"data": [
{
"parkName": "名流公馆西区停车场",
"parkCode": "p201127757",
"address": "渝中区上清寺街道名流公馆(西区)名流公馆西区",
"canton": "重庆市重庆城区渝中区",
"emptySpaces": 83,
"totalSpaces": 1000,
"longitude": 106.547921,
"latitude": 29.56556,
"distance": 451.73533834294085,
"functionList": [
"ONLINEPAY"
],
"freeMintues": 30,
"firstHourFee": 3,
"highestFee": 20,
"openTag": 3,
"isOnlineMonthCard": 0,
"isSpaceHkeeperBook": 0,
"parkId": "de61ede2379011eb92fe2cf05d1e2a7b",
"cityName": "重庆城区",
"chargeRule": "[{"chargeByTime":false,"chargeRuleDetail":[{"fee":"免费","label":"0.5小时内"},{"fee":"3元","label":"0.5-1小时"},{"fee":"6元","label":"1-2小时"},{"fee":"8元","label":"2-3小时"},{"fee":"10元","label":"3-12小时"},{"fee":"2元/小时","label":"12-16小时"},{"fee":"20元","label":"16小时以上"}],"chargeType":1,"dateType":0,"firstPeriodFee":3.0,"freeMinute":30,"highestFee":20.0,"source":1}]",
"isJpark": 1,
"isIndoorMap": 0,
"isRentOut": 0,
"isCharge": 0,
"isBooking": 0,
"isOpen": 1,
"hasFavour": 1,
"favourObject": [
"9.7折"
]
}
]
}
6) 请求返回结果参数说明:
字段名称 | 字段说明 | 类型 | 必填 | 备注 |
---|---|---|---|---|
code | string | Y | – | |
message | string | Y | – | |
success | string | Y | – | |
data | string | Y | – | |
parkName | string | Y | – | |
parkCode | string | Y | – | |
address | string | Y | – | |
canton | string | Y | – | |
emptySpaces | string | Y | – | |
totalSpaces | string | Y | – | |
longitude | string | Y | – | |
latitude | string | Y | – | |
distance | string | Y | – | |
functionList | string | Y | – | |
freeMintues | string | Y | – | |
firstHourFee | string | Y | – | |
highestFee | string | Y | – | |
openTag | string | Y | – | |
isOnlineMonthCard | string | Y | – | |
isSpaceHkeeperBook | string | Y | – | |
parkId | string | Y | – | |
cityName | string | Y | – | |
chargeRule | string | Y | – | |
isJpark | string | Y | – | |
isIndoorMap | string | Y | – | |
isRentOut | string | Y | – | |
isCharge | string | Y | – | |
isBooking | string | Y | – | |
isOpen | string | Y | – | |
hasFavour | string | Y | – | |
favourObject | string | Y | – | |
parkSource | string | Y | – | |
packageId | string | Y | – | |
rentCarContent | string | Y | – |
原文地址:https://blog.csdn.net/qq_36664772/article/details/134807814
本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。
如若转载,请注明出处:http://www.7code.cn/show_45378.html
如若内容造成侵权/违法违规/事实不符,请联系代码007邮箱:suwngjj01@126.com进行投诉反馈,一经查实,立即删除!
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。