获取省市区数据
<h3>请求路由url</h3>
<p>/api/area/index</p>
<h3>请求方式</h3>
<p>GET</p>
<h3>请求参数</h3>
<table>
<thead>
<tr>
<th style="text-align: center;"><strong> 参数 </strong></th>
<th style="text-align: center;"><strong> 说明 </strong></th>
<th style="text-align: center;"><strong> 类型 </strong></th>
<th style="text-align: center;"><strong> 是否必要 </strong></th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: center;">pid</td>
<td style="text-align: center;">父级id</td>
<td style="text-align: center;">int</td>
<td style="text-align: center;">是(默认0(所有省) )</td>
</tr>
</tbody>
</table>
<h3>请求结果</h3>
<pre><code class="language-json">{
"code": 1,//1成功0失败
"msg": "操作成功",
"time": "1641623631",
"data": null
}</code></pre>
<h3>字段注释</h3>
<p>api/doc/index?model=\app\common\model\Area</p>