1.9、获取地址
<h5>简要描述</h5>
<ul>
<li>用户注册接口</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>api/getAddess</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>get</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;">token</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>用户名</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code> {
"code": 200,
"data": [
{
"id": 1,
"user_id": 1,
"name": "饶晓",
"phone": "18216594512",
"province_id": 1,
"city_id": 2,
"country_id": 4,
"address": "祥龙世纪城",
"region_id": null,
"is_default": 0,
"lat": "经度",
"lng": "纬度",
"status": 1,
"update_time": null,
"created_at": "2022-04-09T06:50:39.000000Z",
"updated_at": "2022-04-09T07:05:32.000000Z",
"deleted_at": null,
"country": {
"id": 4,
"name": "新安县",
"detail_name": "河南省洛阳市新安县"
}
}
],
"errMesg": "成功",
"totalCount": 0
}</code></pre>