地址 :https://beta.bolink.club/unionapi/park/queryparks
请求参数:
| 字段名称 | 类型 | 说明 | 是否必传字段 | 示例 |
| --- | --- | --- | --- | --- |
lng| string| 经度| 是 |保留6位小数:如“123.8744332”
lat |String |纬度| 是| 保留6位小数:如“40.883323”
distance| number |距离| 是 |单位:米,如1000,查1公里范围内车场 ,取值范围(100-2000)米
union_id| number |联盟身份ID| 是| 联盟成员ID
rand| String | 随机数| 是| 32位以内整数或小数,与上次请求不能重复,否则认为是非法请求,如0.99993232345436
示例 {"lng":"123.8744332","lat":"40.883323","distance":1000,"rand":"0.0689257123595276","sign":"82A4EA10F60AEE4172AE4F3C774156EB"}
返回信息,返回为多外结果,以json数组的格式,具体参照下表中的示例:
| 字段名称 | 类型 | 说明 | 是否必传字段 | 示例 |
| --- | --- | --- | --- | --- |
name |String |车场名称 |是 |“北京上地三街9号院停车场”
address| String| 地址| 是| “北京上地三街9号”
phone| String| 联系电话| 是 |“13900944433”
lng| string | 经度 |是| 保留6位小数:如“123.8744332”
lat| String|纬度| 是 |保留6位小数:如“40.883323”
total_plot |Number |总车位数 |是| 120
empty_plot| number |空闲车位数 |是| 83
price_desc| String |价格描述| 是|2元每小时
remark| String |备注| 否| 简要说明
state |number |状态 |是| 0失败,1成功
count| Number |数量 |是 |返回条数
union_id| Number| 厂商号 |否 |200001
示例
{"state":1,"count":3,"parks":[{"union_id":200001,"name":"北京上地三街9号院停车场","address":"北京上地三街9号",
"phone":"13899884433","lng":"123.999999","lat":"32.444444","total_plot":"90","empty_plot":"23","price_desc":"2元每小时","remark":"简要说明"},
{"union_id":200001,"name":"北京上地三街10号院停车场","address":"北京上地三街10号","phone":"13899884433","lng":"123.999977","lat":"32.444433","total_plot":"70","empty_plot":"45","price_desc":"2元每小时","remark":"简要说明"},
{"union_id":200001,"name":"北京上地三街11号院停车场","address":"北京上地三街11号","phone":"13899884433","lng":"123.999966","lat":"32.444433","total_plot":"80","empty_plot":"78","price_desc":"2元每小时","remark":"简要说明"}]}