详细地址转经纬度
<p><strong>简要描述:</strong> </p>
<ul>
<li>详细地址转经纬度(最多两次调用) </li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>API地址: <a href="https://open-beta.56yzm.com:8443">https://open-beta.56yzm.com:8443</a> (不同的环境,不同的API地址)</li>
<li>请求地址:/open-api/location/position/gaode/getLatAndLng</li>
</ul>
<p><strong>请求头数据 </strong></p>
<ul>
<li>Content-Type : application/json;charset=UTF-8 </li>
<li>Authorization: Bearer {your_access_token} </li>
</ul>
<p><strong>入参参数:</strong> </p>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">必选</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
<th>示例</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">address</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">String</td>
<td>详细地址</td>
<td>-</td>
</tr>
<tr>
<td style="text-align: left;">area</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">String</td>
<td>区</td>
<td>-</td>
</tr>
<tr>
<td style="text-align: left;">city</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">String</td>
<td>地址所在的城市名</td>
<td>-</td>
</tr>
</tbody>
</table>
<p><strong>入参示例</strong></p>
<pre><code>{
&quot;address&quot;: &quot;string&quot;,
&quot;area&quot;: &quot;string&quot;,
&quot;city&quot;:&quot;string&quot;
}</code></pre>
<p><strong>返回参数说明</strong> </p>
<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;">lat</td>
<td style="text-align: left;">string</td>
<td>纬度</td>
</tr>
<tr>
<td style="text-align: left;">lng</td>
<td style="text-align: left;">string</td>
<td>经度</td>
</tr>
</tbody>
</table>
<p><strong>出参示例</strong></p>
<pre><code>{
&quot;code&quot;: 200,
&quot;msg&quot;: &quot;操作成功&quot;,
&quot;data&quot;: {
&quot;lat&quot;:&quot;string&quot;,
&quot;lng&quot;:&quot;string&quot;
}
}</code></pre>