[TOC=2]
## 获取省
~~~[api]
get:/common/getProvince
<<<
success
{
"code": 0,
"data": [
{
"id": 1,
"province_id": 11,//省id
"province_name": "北京市"//省名
}
]
}
~~~
## 获取市
~~~[api]
get:/common/getCity
*string:province_id=13#省id
<<<
success
{
"code": 0,
"data": [
{
"id": 5,
"province_id": 13,//省id
"city_id": "130100000000",//市id
"city_name": "石家庄市"//市名
}
]
}
~~~
## 获取区
~~~[api]
get:/common/getCounty
*string:city_id=130800000000#区id
<<<
success
{
"code": 0,
"data": [
{
"id": 160,
"city_id": "130800000000",//市id
"county_id": "130801000000",//区id
"county_name": "市辖区"//区名
}
]
}
~~~