地区数据分组 - 排序后

  • 全国地区数据

请求URL

  • /api/v1/region/group

请求方式

  • POST

返回示例

{ "code": 200, "message": "success", "data": { "A": [ { "value": 3, "label": "安徽省", "text": "安徽省", "pinyin": "ahs", "pinyin_first": "A", "code": "34", "children": { "A": [ { "value": 36, "label": "安庆市", "text": "安庆市", "pinyin": "aqs", "pinyin_first": "A", "code": "3408", "children": { "A": [ { "value": 3826, "label": "安徽安庆经济开发区", "text": "安徽安庆经济开发区", "pinyin": "ahaqjjkfq", "pinyin_first": "A", "code": "340871" } ], "D": [ { "value": 399, "label": "大观区", "text": "大观区", "pinyin": "dgq", "pinyin_first": "D", "code": "340803" } ], "H": [ { "value": 402, "label": "怀宁县", "text": "怀宁县", "pinyin": "hnx", "pinyin_first": "H", "code": "340822" } ], "Q": [ { "value": 3831, "label": "潜山市", "text": "潜山市", "pinyin": "qss", "pinyin_first": "Q", "code": "340882" } ], "S": [ { "value": 406, "label": "宿松县", "text": "宿松县", "pinyin": "ssx", "pinyin_first": "S", "code": "340826" } ], "T": [ { "value": 401, "label": "桐城市", "text": "桐城市", "pinyin": "tcs", "pinyin_first": "T", "code": "340881" }, { "value": 405, "label": "太湖县", "text": "太湖县", "pinyin": "thx", "pinyin_first": "T", "code": "340825" } ], "W": [ { "value": 407, "label": "望江县", "text": "望江县", "pinyin": "wjx", "pinyin_first": "W", "code": "340827" } ], "Y": [ { "value": 398, "label": "迎江区", "text": "迎江区", "pinyin": "yjq", "pinyin_first": "Y", "code": "340802" }, { "value": 400, "label": "宜秀区", "text": "宜秀区", "pinyin": "yxq", "pinyin_first": "Y", "code": "340811" }, { "value": 408, "label": "岳西县", "text": "岳西县", "pinyin": "yxx", "pinyin_first": "Y", "code": "340828" } ] } } ], "B": [ { "value": 37, "label": "蚌埠市", "text": "蚌埠市", "pinyin": "bbs", "pinyin_first": "B", "code": "3403", "children": { "B": [ { "value": 433, "label": "蚌山区", "text": "蚌山区", "pinyin": "bsq", "pinyin_first": "B", "code": "340303" }, { "value": 3756, "label": "蚌埠市高新技术开发区", "text": "蚌埠市高新技术开发区", "pinyin": "bbsgxjskfq", "pinyin_first": "B", "code": "340371" }, { "value": 3759, "label": "蚌埠市经济开发区", "text": "蚌埠市经济开发区", "pinyin": "bbsjjkfq", "pinyin_first": "B", "code": "340372" } ], "G": [ { "value": 415, "label": "固镇县", "text": "固镇县", "pinyin": "gzx", "pinyin_first": "G", "code": "340323" } ], "H": [ { "value": 413, "label": "怀远县", "text": "怀远县", "pinyin": "hyx", "pinyin_first": "H", "code": "340321" }, { "value": 436, "label": "淮上区", "text": "淮上区", "pinyin": "hsq", "pinyin_first": "H", "code": "340311" } ], "L": [ { "value": 434, "label": "龙子湖区", "text": "龙子湖区", "pinyin": "lzhq", "pinyin_first": "L", "code": "340302" } ], "W": [ { "value": 414, "label": "五河县", "text": "五河县", "pinyin": "whx", "pinyin_first": "W", "code": "340322" } ], "Y": [ { "value": 435, "label": "禹会区", "text": "禹会区", "pinyin": "yhq", "pinyin_first": "Y", "code": "340304" } ] } }, { "value": 51, "label": "亳州市", "text": "亳州市", "pinyin": "bzs", "pinyin_first": "B", "code": "3416", "children": { "G": [ { "value": 496, "label": "涡阳县", "text": "涡阳县", "pinyin": "gyx", "pinyin_first": "G", "code": "341621" } ], "L": [ { "value": 498, "label": "利辛县", "text": "利辛县", "pinyin": "lxx", "pinyin_first": "L", "code": "341623" } ], "M": [ { "value": 497, "label": "蒙城县", "text": "蒙城县", "pinyin": "mcx", "pinyin_first": "M", "code": "341622" } ], "Q": [ { "value": 499, "label": "谯城区", "text": "谯城区", "pinyin": "qcq", "pinyin_first": "Q", "code": "341602" } ] } } ] } } ], "B": [ { "value": 2, "label": "北京", "text": "北京", "pinyin": "bj", "pinyin_first": "B", "code": "11", "children": { "B": [ { "value": 52, "label": "北京", "text": "北京", "pinyin": "bj", "pinyin_first": "B", "code": "1100", "children": { "C": [ { "value": 512, "label": "昌平区", "text": "昌平区", "pinyin": "cpq", "pinyin_first": "C", "code": "110114" } ], "D": [ { "value": 500, "label": "东城区", "text": "东城区", "pinyin": "dcq", "pinyin_first": "D", "code": "110101" }, { "value": 515, "label": "大兴区", "text": "大兴区", "pinyin": "dxq", "pinyin_first": "D", "code": "110115" } ], "F": [ { "value": 506, "label": "丰台区", "text": "丰台区", "pinyin": "ftq", "pinyin_first": "F", "code": "110106" }, { "value": 508, "label": "房山区", "text": "房山区", "pinyin": "fsq", "pinyin_first": "F", "code": "110111" } ] } } ] } } ] } }