我的地址列表路由
<h5>接口描述</h5>
<ul>
<li>我的地址列表模板</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>/api/address</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>GET</li>
</ul>
<h5>请求头部</h5>
<p>|参数名|必选|类型|说明|
|:---- |:---|:----- |----- |
|Authorization |是 |string |JWT token|</p>
<h5>返回示例</h5>
<ul>
<li>状态码 200 请求成功</li>
</ul>
<pre><code>{
&quot;data&quot;: [
{
&quot;id&quot;: 1,
&quot;name&quot;: &quot;lihua&quot;,
&quot;city_id&quot;: 42811,
&quot;city_str&quot;: &quot;甘肃省 庆阳市 西峰区 北街街道&quot;,
&quot;address&quot;: &quot;HL超市二楼&quot;,
&quot;phone&quot;: &quot;13686541921&quot;,
&quot;created_at&quot;: &quot;2024-04-08T18:55:54.000000Z&quot;,
&quot;updated_at&quot;: &quot;2024-04-08T18:55:54.000000Z&quot;
},
{
&quot;id&quot;: 2,
&quot;name&quot;: &quot;lihua&quot;,
&quot;city_id&quot;: 42811,
&quot;city_str&quot;: &quot;甘肃省 庆阳市 西峰区 北街街道&quot;,
&quot;address&quot;: &quot;HL超市二楼&quot;,
&quot;phone&quot;: &quot;13686541921&quot;,
&quot;created_at&quot;: &quot;2024-04-08T18:58:49.000000Z&quot;,
&quot;updated_at&quot;: &quot;2024-04-08T18:58:49.000000Z&quot;
},
{
&quot;id&quot;: 3,
&quot;name&quot;: &quot;lihua&quot;,
&quot;city_id&quot;: 42811,
&quot;city_str&quot;: &quot;甘肃省 庆阳市 西峰区 北街街道&quot;,
&quot;address&quot;: &quot;HL超市二楼&quot;,
&quot;phone&quot;: &quot;13686541921&quot;,
&quot;created_at&quot;: &quot;2024-04-08T18:58:50.000000Z&quot;,
&quot;updated_at&quot;: &quot;2024-04-08T18:58:50.000000Z&quot;
}
]
}</code></pre>
<ul>
<li>
<p>状态码 200 成功</p>
</li>
<li>状态码 401</li>
</ul>