根据ip获取地理位置
<p><strong>简要描述:</strong> </p>
<ul>
<li>获取地理位置</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>/api/get_location</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>
<p>post</p>
<p><strong>返回示例</strong></p>
</li>
</ul>
<pre><code>{
"msg": "查询成功",
"data": {
"location": "广州"
},
"code": 1,
"state": true
}</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;">location</td>
<td style="text-align: left;">string</td>
<td>地理位置</td>
</tr>
</tbody>
</table>