数据中台


根据坐标获取地址信息,调用高德api

<h5>简要描述</h5> <ul> <li>根据坐标获取地址信息,调用高德api(推荐使用百度,百度API已企业实名访问次数更多)</li> </ul> <h5>请求URL</h5> <ul> <li><code>http://business-serve.ecoweather.cn/aMapWebApi/city</code></li> </ul> <h5>请求方式</h5> <ul> <li>POST </li> </ul> <h5>参数</h5> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">必选</th> <th style="text-align: left;">类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">lat</td> <td style="text-align: left;">是</td> <td style="text-align: left;">float</td> <td>纬度</td> </tr> <tr> <td style="text-align: left;">lon</td> <td style="text-align: left;">是</td> <td style="text-align: left;">float</td> <td>经度</td> </tr> </tbody> </table> <h5>参数示例</h5> <pre><code>{ "lat":30, "lon":110 }</code></pre> <h5>返回示例</h5> <pre><code>{ "success": true, "code": 20000, "message": "成功", "data": { "responseJson": { "infocode": "10000", "regeocode": { "formatted_address": "湖北省恩施土家族苗族自治州鹤峰县中营镇233省道", "addressComponent": { "businessAreas": [ [] ], "country": "中国", "province": "湖北省", "citycode": "0718", "city": "恩施土家族苗族自治州", "adcode": "422828", "streetNumber": { "number": [], "distance": [], "street": [], "direction": [] }, "towncode": "422828104000", "district": "鹤峰县", "neighborhood": { "name": [], "type": [] }, "township": "中营镇", "building": { "name": [], "type": [] } } }, "status": "1", "info": "OK" } } }</code></pre> <h5>返回参数说明</h5> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;"></td> <td style="text-align: left;"></td> <td></td> </tr> </tbody> </table> <h5>备注</h5> <ul> <li>无</li> </ul>

页面列表

ITEM_HTML