## 城市列表
~~~[api]
post:/city-index-json.html
pid#上级ID
level#城市等级
state=1#城市状态
<<<
success
{
"status": "success",
"msg": "获取成功",
// 下级城市列表
"result": [{
"id": 5,
"city_pid": 1,
"city_name": "韶关市",
"city_level": 1,
"city_sort": 100,
"city_state": "1",
"state_text": "正常"
}, {
"id": 6,
"city_pid": 1,
"city_name": "广州市",
"city_level": 1,
"city_sort": 100,
"city_state": "1",
"state_text": "正常"
}, {
"id": 7,
"city_pid": 1,
"city_name": "深圳市",
"city_level": 1,
"city_sort": 100,
"city_state": "1",
"state_text": "正常"
}],
// 当前城市
"current": {
"id": 1,
"city_pid": 0,
"city_name": "广东省",
"city_level": 1,
"city_sort": 100,
"city_state": "1",
"city_time": "2018-04-23 16:34:18"
}
}
<<<
error
{
"status": "fail",
"msg": "城市不存在",
}
~~~