## 获取城市数据
~~~[api]
get:/Index/cityData
<<<
success
{
"code": 0,
"msg": "获取成功",
"data": [
{
"id": 1,
"name": "北京市",
"level": 1,
"code": 11,
"children": [
{
"id": 2,
"name": "市辖区",
"level": 2,
"code": 1101
}
]
}
]
}
~~~
## 字段列表
| 字段 | 说明 |
| --- | --- |
| id | 城市ID |
| name | 城市名称 |
| level | 城市等级 |
| code | 城市代码 |
| children | 下级城市 |