areaMap

package
v1.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 4, 2021 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package areaMap 该文件是由go generate自动生成的,请勿直接修改代码!!! 如需更新请更新/data文件的数据源,然后在/generate下执行 make all

Package areaMap 该文件是由go generate自动生成的,请勿直接修改代码!!! 如需更新请更新/data文件的数据源,然后在/generate下执行 make all

Package areaMap 该文件是由go generate自动生成的,请勿直接修改代码!!! 如需更新请更新/data文件的数据源,然后在/generate下执行 make all

Index

Constants

This section is empty.

Variables

View Source
var CityById = map[int]CityId{}/* 409 elements not displayed */
View Source
var CityByName = map[string][]CityName{}/* 409 elements not displayed */
View Source
var CityByPid = map[int][]CityPid{
	8:  {{Name: "哈尔滨市", Id: 130, Zipcode: 150000}, {Name: "齐齐哈尔市", Id: 131, Zipcode: 161000}, {Name: "鸡西市", Id: 132, Zipcode: 158100}, {Name: "鹤岗市", Id: 133, Zipcode: 154100}, {Name: "双鸭山市", Id: 134, Zipcode: 155100}, {Name: "大庆市", Id: 135, Zipcode: 163000}, {Name: "伊春市", Id: 136, Zipcode: 153000}, {Name: "佳木斯市", Id: 137, Zipcode: 154000}, {Name: "七台河市", Id: 138, Zipcode: 154600}, {Name: "牡丹江市", Id: 139, Zipcode: 157000}, {Name: "黑河市", Id: 140, Zipcode: 164300}, {Name: "绥化市", Id: 141, Zipcode: 152000}, {Name: "大兴安岭地区", Id: 142, Zipcode: 165000}},
	11: {{Name: "杭州市", Id: 175, Zipcode: 310000}, {Name: "宁波市", Id: 176, Zipcode: 315000}, {Name: "温州市", Id: 177, Zipcode: 325000}, {Name: "嘉兴市", Id: 178, Zipcode: 314000}, {Name: "湖州市", Id: 179, Zipcode: 313000}, {Name: "绍兴市", Id: 180, Zipcode: 312000}, {Name: "舟山市", Id: 181, Zipcode: 316000}, {Name: "衢州市", Id: 182, Zipcode: 324000}, {Name: "金华市", Id: 183, Zipcode: 321000}, {Name: "台州市", Id: 184, Zipcode: 318000}, {Name: "丽水市", Id: 185, Zipcode: 323000}},
	22: {{Name: "重庆市", Id: 62, Zipcode: 404100}},
	12: {{Name: "合肥市", Id: 186, Zipcode: 230000}, {Name: "芜湖市", Id: 187, Zipcode: 241100}, {Name: "蚌埠市", Id: 188, Zipcode: 233000}, {Name: "淮南市", Id: 189, Zipcode: 232000}, {Name: "马鞍山市", Id: 190, Zipcode: 243000}, {Name: "淮北市", Id: 191, Zipcode: 235000}, {Name: "铜陵市", Id: 192, Zipcode: 244100}, {Name: "安庆市", Id: 193, Zipcode: 246000}, {Name: "黄山市", Id: 194, Zipcode: 245000}, {Name: "滁州市", Id: 195, Zipcode: 239000}, {Name: "阜阳市", Id: 196, Zipcode: 236000}, {Name: "宿州市", Id: 197, Zipcode: 234000}, {Name: "巢湖市", Id: 198, Zipcode: 238000}, {Name: "六安市", Id: 199, Zipcode: 237000}, {Name: "亳州市", Id: 200, Zipcode: 236000}, {Name: "池州市", Id: 201, Zipcode: 247100}, {Name: "宣城市", Id: 202, Zipcode: 242000}},
	27: {{Name: "西安市", Id: 438, Zipcode: 710000}, {Name: "铜川市", Id: 439, Zipcode: 727000}, {Name: "宝鸡市", Id: 440, Zipcode: 721000}, {Name: "咸阳市", Id: 441, Zipcode: 712000}, {Name: "渭南市", Id: 442, Zipcode: 714000}, {Name: "延安市", Id: 443, Zipcode: 716000}, {Name: "汉中市", Id: 444, Zipcode: 723000}, {Name: "榆林市", Id: 445, Zipcode: 719000}, {Name: "安康市", Id: 446, Zipcode: 725000}, {Name: "商洛市", Id: 447, Zipcode: 726000}},
	31: {{Name: "乌鲁木齐市", Id: 475, Zipcode: 830000}, {Name: "克拉玛依市", Id: 476, Zipcode: 834000}, {Name: "吐鲁番地区", Id: 477, Zipcode: 838000}, {Name: "哈密地区", Id: 478, Zipcode: 839000}, {Name: "昌吉回族自治州", Id: 479, Zipcode: 831100}, {Name: "博尔塔拉蒙古自治州", Id: 480, Zipcode: 833400}, {Name: "巴音郭楞蒙古自治州", Id: 481, Zipcode: 841000}, {Name: "阿克苏地区", Id: 482, Zipcode: 843000}, {Name: "克孜勒苏柯尔克孜自治州", Id: 483, Zipcode: 845350}, {Name: "喀什地区", Id: 484, Zipcode: 844000}, {Name: "和田地区", Id: 485, Zipcode: 848000}, {Name: "伊犁哈萨克自治州", Id: 486, Zipcode: 835000}, {Name: "塔城地区", Id: 487, Zipcode: 834700}, {Name: "阿勒泰地区", Id: 488, Zipcode: 836500}, {Name: "石河子市", Id: 489, Zipcode: 832000}, {Name: "阿拉尔市", Id: 490, Zipcode: 843300}, {Name: "图木舒克市", Id: 491, Zipcode: 844000}, {Name: "五家渠市", Id: 492, Zipcode: 831300}},
	34: {{Name: "澳门特别行政区", Id: 534, Zipcode: 999078}},
	1:  {{Name: "北京市", Id: 36, Zipcode: 100000}},
	3:  {{Name: "石家庄市", Id: 73, Zipcode: 50000}, {Name: "唐山市", Id: 74, Zipcode: 63000}, {Name: "秦皇岛市", Id: 75, Zipcode: 66000}, {Name: "邯郸市", Id: 76, Zipcode: 56000}, {Name: "邢台市", Id: 77, Zipcode: 54000}, {Name: "保定市", Id: 78, Zipcode: 71000}, {Name: "张家口市", Id: 79, Zipcode: 75000}, {Name: "承德市", Id: 80, Zipcode: 67400}, {Name: "衡水市", Id: 81, Zipcode: 53000}, {Name: "廊坊市", Id: 82, Zipcode: 65000}, {Name: "沧州市", Id: 83, Zipcode: 61000}},
	19: {{Name: "广州市", Id: 289, Zipcode: 510000}, {Name: "韶关市", Id: 290, Zipcode: 512000}, {Name: "深圳市", Id: 291, Zipcode: 518000}, {Name: "珠海市", Id: 292, Zipcode: 519000}, {Name: "汕头市", Id: 293, Zipcode: 515000}, {Name: "佛山市", Id: 294, Zipcode: 528000}, {Name: "江门市", Id: 295, Zipcode: 529000}, {Name: "湛江市", Id: 296, Zipcode: 524000}, {Name: "茂名市", Id: 297, Zipcode: 525000}, {Name: "肇庆市", Id: 298, Zipcode: 526000}, {Name: "惠州市", Id: 299, Zipcode: 516000}, {Name: "梅州市", Id: 300, Zipcode: 514000}, {Name: "汕尾市", Id: 301, Zipcode: 516600}, {Name: "河源市", Id: 302, Zipcode: 517000}, {Name: "阳江市", Id: 303, Zipcode: 529500}, {Name: "清远市", Id: 304, Zipcode: 511500}, {Name: "东莞市", Id: 305, Zipcode: 523000}, {Name: "中山市", Id: 306, Zipcode: 116000}, {Name: "潮州市", Id: 307, Zipcode: 521000}, {Name: "揭阳市", Id: 308, Zipcode: 522000}, {Name: "云浮市", Id: 309, Zipcode: 527300}},
	20: {{Name: "南宁市", Id: 310, Zipcode: 530000}, {Name: "柳州市", Id: 311, Zipcode: 545000}, {Name: "桂林市", Id: 312, Zipcode: 541000}, {Name: "梧州市", Id: 313, Zipcode: 543000}, {Name: "北海市", Id: 314, Zipcode: 536000}, {Name: "防城港市", Id: 315, Zipcode: 538000}, {Name: "钦州市", Id: 316, Zipcode: 535000}, {Name: "贵港市", Id: 317, Zipcode: 537000}, {Name: "玉林市", Id: 318, Zipcode: 537000}, {Name: "百色市", Id: 319, Zipcode: 533000}, {Name: "贺州市", Id: 320, Zipcode: 542800}, {Name: "河池市", Id: 321, Zipcode: 547000}, {Name: "来宾市", Id: 322, Zipcode: 546100}, {Name: "崇左市", Id: 323, Zipcode: 532200}},
	24: {{Name: "贵阳市", Id: 406, Zipcode: 550000}, {Name: "六盘水市", Id: 407, Zipcode: 553000}, {Name: "遵义市", Id: 408, Zipcode: 563100}, {Name: "安顺市", Id: 409, Zipcode: 561000}, {Name: "铜仁地区", Id: 410, Zipcode: 554300}, {Name: "黔西南布依族苗族自治州", Id: 411, Zipcode: 562400}, {Name: "毕节地区", Id: 412, Zipcode: 551700}, {Name: "黔东南苗族侗族自治州", Id: 413, Zipcode: 556000}, {Name: "黔南布依族苗族自治州", Id: 414, Zipcode: 558000}},
	9:  {{Name: "上海市", Id: 39, Zipcode: 200000}},
	18: {{Name: "长沙市", Id: 275, Zipcode: 410000}, {Name: "株洲市", Id: 276, Zipcode: 412000}, {Name: "湘潭市", Id: 277, Zipcode: 411200}, {Name: "衡阳市", Id: 278, Zipcode: 421200}, {Name: "邵阳市", Id: 279, Zipcode: 422100}, {Name: "岳阳市", Id: 280, Zipcode: 414100}, {Name: "常德市", Id: 281, Zipcode: 415000}, {Name: "张家界市", Id: 282, Zipcode: 427000}, {Name: "益阳市", Id: 283, Zipcode: 413000}, {Name: "郴州市", Id: 284, Zipcode: 423000}, {Name: "永州市", Id: 285, Zipcode: 425000}, {Name: "怀化市", Id: 286, Zipcode: 418000}, {Name: "娄底市", Id: 287, Zipcode: 417000}, {Name: "湘西土家族苗族自治州", Id: 288, Zipcode: 416000}},
	14: {{Name: "南昌市", Id: 212, Zipcode: 330200}, {Name: "景德镇市", Id: 213, Zipcode: 333000}, {Name: "萍乡市", Id: 214, Zipcode: 337000}, {Name: "九江市", Id: 215, Zipcode: 332100}, {Name: "新余市", Id: 216, Zipcode: 338000}, {Name: "鹰潭市", Id: 217, Zipcode: 335000}, {Name: "赣州市", Id: 218, Zipcode: 341000}, {Name: "吉安市", Id: 219, Zipcode: 343100}, {Name: "宜春市", Id: 220, Zipcode: 336000}, {Name: "抚州市", Id: 221, Zipcode: 344000}, {Name: "上饶市", Id: 222, Zipcode: 334100}},
	16: {{Name: "郑州市", Id: 240, Zipcode: 450000}, {Name: "开封市", Id: 241, Zipcode: 475100}, {Name: "洛阳市", Id: 242, Zipcode: 471000}, {Name: "平顶山市", Id: 243, Zipcode: 467000}, {Name: "安阳市", Id: 244, Zipcode: 455100}, {Name: "鹤壁市", Id: 245, Zipcode: 458000}, {Name: "新乡市", Id: 246, Zipcode: 453700}, {Name: "焦作市", Id: 247, Zipcode: 454150}, {Name: "濮阳市", Id: 248, Zipcode: 457100}, {Name: "许昌市", Id: 249, Zipcode: 461100}, {Name: "漯河市", Id: 250, Zipcode: 462000}, {Name: "三门峡市", Id: 251, Zipcode: 472000}, {Name: "南阳市", Id: 252, Zipcode: 473000}, {Name: "商丘市", Id: 253, Zipcode: 476000}, {Name: "信阳市", Id: 254, Zipcode: 464000}, {Name: "周口市", Id: 255, Zipcode: 466000}, {Name: "驻马店市", Id: 256, Zipcode: 463000}, {Name: "济源市", Id: 257, Zipcode: 454650}},
	21: {{Name: "海口市", Id: 324, Zipcode: 570100}, {Name: "三亚市", Id: 325, Zipcode: 572000}, {Name: "五指山市", Id: 326, Zipcode: 572200}, {Name: "琼海市", Id: 327, Zipcode: 571400}, {Name: "儋州市", Id: 328, Zipcode: 571700}, {Name: "文昌市", Id: 329, Zipcode: 571300}, {Name: "万宁市", Id: 330, Zipcode: 571500}, {Name: "东方市", Id: 331, Zipcode: 572600}, {Name: "定安县", Id: 332, Zipcode: 571229}, {Name: "屯昌县", Id: 333, Zipcode: 571600}, {Name: "澄迈县", Id: 334, Zipcode: 571900}, {Name: "临高县", Id: 335, Zipcode: 571800}, {Name: "白沙黎族自治县", Id: 336, Zipcode: 572800}, {Name: "昌江黎族自治县", Id: 337, Zipcode: 572700}, {Name: "乐东黎族自治县", Id: 338, Zipcode: 572500}, {Name: "陵水黎族自治县", Id: 339, Zipcode: 572400}, {Name: "保亭黎族苗族自治县", Id: 340, Zipcode: 572300}, {Name: "琼中黎族苗族自治县", Id: 341, Zipcode: 572900}, {Name: "西沙群岛", Id: 342, Zipcode: 572000}, {Name: "南沙群岛", Id: 343, Zipcode: 0}, {Name: "中沙群岛的岛礁及其海域", Id: 344, Zipcode: 0}},
	23: {{Name: "成都市", Id: 385, Zipcode: 610000}, {Name: "自贡市", Id: 386, Zipcode: 643000}, {Name: "攀枝花市", Id: 387, Zipcode: 617000}, {Name: "泸州市", Id: 388, Zipcode: 646000}, {Name: "德阳市", Id: 389, Zipcode: 618000}, {Name: "绵阳市", Id: 390, Zipcode: 621000}, {Name: "广元市", Id: 391, Zipcode: 628000}, {Name: "遂宁市", Id: 392, Zipcode: 629000}, {Name: "内江市", Id: 393, Zipcode: 641000}, {Name: "乐山市", Id: 394, Zipcode: 614000}, {Name: "南充市", Id: 395, Zipcode: 637000}, {Name: "眉山市", Id: 396, Zipcode: 620000}, {Name: "宜宾市", Id: 397, Zipcode: 644600}, {Name: "广安市", Id: 398, Zipcode: 638550}, {Name: "达州市", Id: 399, Zipcode: 635000}, {Name: "雅安市", Id: 400, Zipcode: 625000}, {Name: "巴中市", Id: 401, Zipcode: 636600}, {Name: "资阳市", Id: 402, Zipcode: 641300}, {Name: "阿坝藏族羌族自治州", Id: 403, Zipcode: 624600}, {Name: "甘孜藏族自治州", Id: 404, Zipcode: 626700}, {Name: "凉山彝族自治州", Id: 405, Zipcode: 615000}},
	29: {{Name: "西宁市", Id: 462, Zipcode: 810000}, {Name: "海东地区", Id: 463, Zipcode: 810600}, {Name: "海北藏族自治州", Id: 464, Zipcode: 812200}, {Name: "黄南藏族自治州", Id: 465, Zipcode: 811300}, {Name: "海南藏族自治州", Id: 466, Zipcode: 813000}, {Name: "果洛藏族自治州", Id: 467, Zipcode: 814000}, {Name: "玉树藏族自治州", Id: 468, Zipcode: 815000}, {Name: "海西蒙古族藏族自治州", Id: 469, Zipcode: 817000}},
	2:  {{Name: "天津市", Id: 40, Zipcode: 300000}},
	13: {{Name: "福州市", Id: 203, Zipcode: 350000}, {Name: "厦门市", Id: 204, Zipcode: 361000}, {Name: "莆田市", Id: 205, Zipcode: 351100}, {Name: "三明市", Id: 206, Zipcode: 365000}, {Name: "泉州市", Id: 207, Zipcode: 362000}, {Name: "漳州市", Id: 208, Zipcode: 363000}, {Name: "南平市", Id: 209, Zipcode: 353000}, {Name: "龙岩市", Id: 210, Zipcode: 364000}, {Name: "宁德市", Id: 211, Zipcode: 352000}},
	7:  {{Name: "长春市", Id: 121, Zipcode: 130000}, {Name: "吉林市", Id: 122, Zipcode: 132013}, {Name: "四平市", Id: 123, Zipcode: 136000}, {Name: "辽源市", Id: 124, Zipcode: 136200}, {Name: "通化市", Id: 125, Zipcode: 134100}, {Name: "白山市", Id: 126, Zipcode: 134300}, {Name: "松原市", Id: 127, Zipcode: 138000}, {Name: "白城市", Id: 128, Zipcode: 137000}, {Name: "延边朝鲜族自治州", Id: 129, Zipcode: 133000}},
	10: {{Name: "南京市", Id: 162, Zipcode: 210000}, {Name: "无锡市", Id: 163, Zipcode: 214000}, {Name: "徐州市", Id: 164, Zipcode: 221000}, {Name: "常州市", Id: 165, Zipcode: 213000}, {Name: "苏州市", Id: 166, Zipcode: 215000}, {Name: "南通市", Id: 167, Zipcode: 226000}, {Name: "连云港市", Id: 168, Zipcode: 222000}, {Name: "淮安市", Id: 169, Zipcode: 223001}, {Name: "盐城市", Id: 170, Zipcode: 224000}, {Name: "扬州市", Id: 171, Zipcode: 225000}, {Name: "镇江市", Id: 172, Zipcode: 212000}, {Name: "泰州市", Id: 173, Zipcode: 225300}, {Name: "宿迁市", Id: 174, Zipcode: 223800}},
	28: {{Name: "兰州市", Id: 448, Zipcode: 730000}, {Name: "嘉峪关市", Id: 449, Zipcode: 735100}, {Name: "金昌市", Id: 450, Zipcode: 737100}, {Name: "白银市", Id: 451, Zipcode: 730900}, {Name: "天水市", Id: 452, Zipcode: 741000}, {Name: "武威市", Id: 453, Zipcode: 733000}, {Name: "张掖市", Id: 454, Zipcode: 734000}, {Name: "平凉市", Id: 455, Zipcode: 744000}, {Name: "酒泉市", Id: 456, Zipcode: 735000}, {Name: "庆阳市", Id: 457, Zipcode: 745000}, {Name: "定西市", Id: 458, Zipcode: 743000}, {Name: "陇南市", Id: 459, Zipcode: 742500}, {Name: "临夏回族自治州", Id: 460, Zipcode: 731800}, {Name: "甘南藏族自治州", Id: 461, Zipcode: 747000}},
	30: {{Name: "银川市", Id: 470, Zipcode: 750000}, {Name: "石嘴山市", Id: 471, Zipcode: 753000}, {Name: "吴忠市", Id: 472, Zipcode: 751100}, {Name: "固原市", Id: 473, Zipcode: 756000}, {Name: "中卫市", Id: 474, Zipcode: 755000}},
	32: {{Name: "台北市", Id: 493, Zipcode: 100052}, {Name: "高雄市", Id: 494, Zipcode: 100052}, {Name: "基隆市", Id: 495, Zipcode: 100052}, {Name: "台中市", Id: 496, Zipcode: 100052}, {Name: "台南市", Id: 497, Zipcode: 100052}, {Name: "新竹市", Id: 498, Zipcode: 100052}, {Name: "嘉义市", Id: 499, Zipcode: 100052}, {Name: "台北县", Id: 500, Zipcode: 100052}, {Name: "宜兰县", Id: 501, Zipcode: 0}, {Name: "桃园县", Id: 502, Zipcode: 56002}, {Name: "新竹县", Id: 503, Zipcode: 100052}, {Name: "苗栗县", Id: 504, Zipcode: 0}, {Name: "台中县", Id: 505, Zipcode: 100052}, {Name: "彰化县", Id: 506, Zipcode: 0}, {Name: "南投县", Id: 507, Zipcode: 0}, {Name: "云林县", Id: 508, Zipcode: 116001}, {Name: "嘉义县", Id: 509, Zipcode: 100052}, {Name: "台南县", Id: 510, Zipcode: 100052}, {Name: "高雄县", Id: 511, Zipcode: 100052}, {Name: "屏东县", Id: 512, Zipcode: 0}, {Name: "澎湖县", Id: 513, Zipcode: 0}, {Name: "台东县", Id: 514, Zipcode: 53400}, {Name: "花莲县", Id: 515, Zipcode: 253300}},
	5:  {{Name: "呼和浩特市", Id: 95, Zipcode: 10000}, {Name: "包头市", Id: 96, Zipcode: 14000}, {Name: "乌海市", Id: 97, Zipcode: 16000}, {Name: "赤峰市", Id: 98, Zipcode: 24000}, {Name: "通辽市", Id: 99, Zipcode: 28000}, {Name: "鄂尔多斯市", Id: 100, Zipcode: 17000}, {Name: "呼伦贝尔市", Id: 101, Zipcode: 21000}, {Name: "巴彦淖尔市", Id: 102, Zipcode: 15000}, {Name: "乌兰察布市", Id: 103, Zipcode: 12000}, {Name: "兴安盟", Id: 104, Zipcode: 137400}, {Name: "锡林郭勒盟", Id: 105, Zipcode: 26000}, {Name: "阿拉善盟", Id: 106, Zipcode: 16055}},
	17: {{Name: "武汉市", Id: 258, Zipcode: 430000}, {Name: "黄石市", Id: 259, Zipcode: 435000}, {Name: "十堰市", Id: 260, Zipcode: 442000}, {Name: "宜昌市", Id: 261, Zipcode: 443000}, {Name: "襄阳市", Id: 262, Zipcode: 441100}, {Name: "鄂州市", Id: 263, Zipcode: 436000}, {Name: "荆门市", Id: 264, Zipcode: 448000}, {Name: "孝感市", Id: 265, Zipcode: 432000}, {Name: "荆州市", Id: 266, Zipcode: 434020}, {Name: "黄冈市", Id: 267, Zipcode: 438000}, {Name: "咸宁市", Id: 268, Zipcode: 437000}, {Name: "随州市", Id: 269, Zipcode: 441300}, {Name: "恩施土家族苗族自治州", Id: 270, Zipcode: 445000}, {Name: "仙桃市", Id: 271, Zipcode: 433000}, {Name: "潜江市", Id: 272, Zipcode: 433100}, {Name: "天门市", Id: 273, Zipcode: 431700}, {Name: "神农架林区", Id: 274, Zipcode: 442400}},
	15: {{Name: "济南市", Id: 223, Zipcode: 250000}, {Name: "青岛市", Id: 224, Zipcode: 266000}, {Name: "淄博市", Id: 225, Zipcode: 255000}, {Name: "枣庄市", Id: 226, Zipcode: 277000}, {Name: "东营市", Id: 227, Zipcode: 257100}, {Name: "烟台市", Id: 228, Zipcode: 264000}, {Name: "潍坊市", Id: 229, Zipcode: 261000}, {Name: "济宁市", Id: 230, Zipcode: 272000}, {Name: "泰安市", Id: 231, Zipcode: 271000}, {Name: "威海市", Id: 232, Zipcode: 264200}, {Name: "日照市", Id: 233, Zipcode: 276800}, {Name: "莱芜市", Id: 234, Zipcode: 271100}, {Name: "临沂市", Id: 235, Zipcode: 276000}, {Name: "德州市", Id: 236, Zipcode: 253000}, {Name: "聊城市", Id: 237, Zipcode: 252000}, {Name: "滨州市", Id: 238, Zipcode: 256600}, {Name: "菏泽市", Id: 239, Zipcode: 274000}},
	25: {{Name: "昆明市", Id: 415, Zipcode: 650000}, {Name: "曲靖市", Id: 416, Zipcode: 655000}, {Name: "玉溪市", Id: 417, Zipcode: 653100}, {Name: "保山市", Id: 418, Zipcode: 678000}, {Name: "昭通市", Id: 419, Zipcode: 657000}, {Name: "丽江市", Id: 420, Zipcode: 674100}, {Name: "思茅市", Id: 421, Zipcode: 665001}, {Name: "临沧市", Id: 422, Zipcode: 677000}, {Name: "楚雄彝族自治州", Id: 423, Zipcode: 675000}, {Name: "红河哈尼族彝族自治州", Id: 424, Zipcode: 654400}, {Name: "文山壮族苗族自治州", Id: 425, Zipcode: 663000}, {Name: "西双版纳傣族自治州", Id: 426, Zipcode: 666100}, {Name: "大理白族自治州", Id: 427, Zipcode: 671000}, {Name: "德宏傣族景颇族自治州", Id: 428, Zipcode: 678400}, {Name: "怒江傈僳族自治州", Id: 429, Zipcode: 673100}, {Name: "迪庆藏族自治州", Id: 430, Zipcode: 674400}, {Name: "怒江州", Id: 5108, Zipcode: 673100}, {Name: "普洱市", Id: 5109, Zipcode: 665000}},
	26: {{Name: "拉萨市", Id: 431, Zipcode: 850000}, {Name: "昌都地区", Id: 432, Zipcode: 854000}, {Name: "山南地区", Id: 433, Zipcode: 856000}, {Name: "日喀则地区", Id: 434, Zipcode: 857000}, {Name: "那曲地区", Id: 435, Zipcode: 852000}, {Name: "阿里地区", Id: 436, Zipcode: 859000}, {Name: "林芝地区", Id: 437, Zipcode: 860100}},
	33: {{Name: "中西区", Id: 516, Zipcode: 999077}, {Name: "东区", Id: 517, Zipcode: 999077}, {Name: "九龙城区", Id: 518, Zipcode: 999077}, {Name: "观塘区", Id: 519, Zipcode: 999077}, {Name: "南区", Id: 520, Zipcode: 999077}, {Name: "深水埗区", Id: 521, Zipcode: 999077}, {Name: "黄大仙区", Id: 522, Zipcode: 999077}, {Name: "湾仔区", Id: 523, Zipcode: 999077}, {Name: "油尖旺区", Id: 524, Zipcode: 999077}, {Name: "离岛区", Id: 525, Zipcode: 999077}, {Name: "葵青区", Id: 526, Zipcode: 999077}, {Name: "北区", Id: 527, Zipcode: 999077}, {Name: "西贡区", Id: 528, Zipcode: 999077}, {Name: "沙田区", Id: 529, Zipcode: 999077}, {Name: "屯门区", Id: 530, Zipcode: 999077}, {Name: "大埔区", Id: 531, Zipcode: 999077}, {Name: "荃湾区", Id: 532, Zipcode: 999077}, {Name: "元朗区", Id: 533, Zipcode: 999077}},
	4:  {{Name: "太原市", Id: 84, Zipcode: 30000}, {Name: "大同市", Id: 85, Zipcode: 163000}, {Name: "阳泉市", Id: 86, Zipcode: 45000}, {Name: "长治市", Id: 87, Zipcode: 46000}, {Name: "晋城市", Id: 88, Zipcode: 48000}, {Name: "朔州市", Id: 89, Zipcode: 36000}, {Name: "晋中市", Id: 90, Zipcode: 30600}, {Name: "运城市", Id: 91, Zipcode: 44000}, {Name: "忻州市", Id: 92, Zipcode: 34000}, {Name: "临汾市", Id: 93, Zipcode: 41000}, {Name: "吕梁市", Id: 94, Zipcode: 33000}},
	6:  {{Name: "沈阳市", Id: 107, Zipcode: 110000}, {Name: "大连市", Id: 108, Zipcode: 116000}, {Name: "鞍山市", Id: 109, Zipcode: 114000}, {Name: "抚顺市", Id: 110, Zipcode: 113100}, {Name: "本溪市", Id: 111, Zipcode: 117100}, {Name: "丹东市", Id: 112, Zipcode: 118000}, {Name: "锦州市", Id: 113, Zipcode: 121000}, {Name: "营口市", Id: 114, Zipcode: 115000}, {Name: "阜新市", Id: 115, Zipcode: 123100}, {Name: "辽阳市", Id: 116, Zipcode: 111200}, {Name: "盘锦市", Id: 117, Zipcode: 124000}, {Name: "铁岭市", Id: 118, Zipcode: 112600}, {Name: "朝阳市", Id: 119, Zipcode: 122000}, {Name: "葫芦岛市", Id: 120, Zipcode: 125000}},
}
View Source
var ProvinceById = map[int]ProvinceId{
	1:  {Name: "北京", Pid: 0},
	2:  {Name: "天津", Pid: 0},
	3:  {Name: "河北省", Pid: 0},
	4:  {Name: "山西省", Pid: 0},
	5:  {Name: "内蒙古自治区", Pid: 0},
	6:  {Name: "辽宁省", Pid: 0},
	7:  {Name: "吉林省", Pid: 0},
	8:  {Name: "黑龙江省", Pid: 0},
	9:  {Name: "上海", Pid: 0},
	10: {Name: "江苏省", Pid: 0},
	11: {Name: "浙江省", Pid: 0},
	12: {Name: "安徽省", Pid: 0},
	13: {Name: "福建省", Pid: 0},
	14: {Name: "江西省", Pid: 0},
	15: {Name: "山东省", Pid: 0},
	16: {Name: "河南省", Pid: 0},
	17: {Name: "湖北省", Pid: 0},
	18: {Name: "湖南省", Pid: 0},
	19: {Name: "广东省", Pid: 0},
	20: {Name: "广西壮族自治区", Pid: 0},
	21: {Name: "海南省", Pid: 0},
	22: {Name: "重庆", Pid: 0},
	23: {Name: "四川省", Pid: 0},
	24: {Name: "贵州省", Pid: 0},
	25: {Name: "云南省", Pid: 0},
	26: {Name: "西藏自治区", Pid: 0},
	27: {Name: "陕西省", Pid: 0},
	28: {Name: "甘肃省", Pid: 0},
	29: {Name: "青海省", Pid: 0},
	30: {Name: "宁夏回族自治区", Pid: 0},
	31: {Name: "新疆维吾尔自治区", Pid: 0},
	32: {Name: "台湾省", Pid: 0},
	33: {Name: "香港特别行政区", Pid: 0},
	34: {Name: "澳门特别行政区", Pid: 0},
	35: {Name: "海外", Pid: 0},
}
View Source
var ProvinceByName = map[string][]ProvinceName{
	"福建省":      {{Name: "福建省", Id: 13, Pid: 0}},
	"湖南省":      {{Name: "湖南省", Id: 18, Pid: 0}},
	"吉林省":      {{Name: "吉林省", Id: 7, Pid: 0}},
	"黑龙江省":     {{Name: "黑龙江省", Id: 8, Pid: 0}},
	"江苏省":      {{Name: "江苏省", Id: 10, Pid: 0}},
	"西藏自治区":    {{Name: "西藏自治区", Id: 26, Pid: 0}},
	"陕西省":      {{Name: "陕西省", Id: 27, Pid: 0}},
	"甘肃省":      {{Name: "甘肃省", Id: 28, Pid: 0}},
	"北京":       {{Name: "北京", Id: 1, Pid: 0}},
	"天津":       {{Name: "天津", Id: 2, Pid: 0}},
	"河北省":      {{Name: "河北省", Id: 3, Pid: 0}},
	"江西省":      {{Name: "江西省", Id: 14, Pid: 0}},
	"山东省":      {{Name: "山东省", Id: 15, Pid: 0}},
	"云南省":      {{Name: "云南省", Id: 25, Pid: 0}},
	"贵州省":      {{Name: "贵州省", Id: 24, Pid: 0}},
	"台湾省":      {{Name: "台湾省", Id: 32, Pid: 0}},
	"香港特别行政区":  {{Name: "香港特别行政区", Id: 33, Pid: 0}},
	"浙江省":      {{Name: "浙江省", Id: 11, Pid: 0}},
	"重庆":       {{Name: "重庆", Id: 22, Pid: 0}},
	"四川省":      {{Name: "四川省", Id: 23, Pid: 0}},
	"广西壮族自治区":  {{Name: "广西壮族自治区", Id: 20, Pid: 0}},
	"海南省":      {{Name: "海南省", Id: 21, Pid: 0}},
	"澳门特别行政区":  {{Name: "澳门特别行政区", Id: 34, Pid: 0}},
	"山西省":      {{Name: "山西省", Id: 4, Pid: 0}},
	"辽宁省":      {{Name: "辽宁省", Id: 6, Pid: 0}},
	"河南省":      {{Name: "河南省", Id: 16, Pid: 0}},
	"内蒙古自治区":   {{Name: "内蒙古自治区", Id: 5, Pid: 0}},
	"广东省":      {{Name: "广东省", Id: 19, Pid: 0}},
	"海外":       {{Name: "海外", Id: 35, Pid: 0}},
	"新疆维吾尔自治区": {{Name: "新疆维吾尔自治区", Id: 31, Pid: 0}},
	"湖北省":      {{Name: "湖北省", Id: 17, Pid: 0}},
	"青海省":      {{Name: "青海省", Id: 29, Pid: 0}},
	"宁夏回族自治区":  {{Name: "宁夏回族自治区", Id: 30, Pid: 0}},
	"上海":       {{Name: "上海", Id: 9, Pid: 0}},
	"安徽省":      {{Name: "安徽省", Id: 12, Pid: 0}},
}
View Source
var ProvinceByPid = map[int][]ProvincePid{
	0: {{Name: "北京", Id: 1}, {Name: "天津", Id: 2}, {Name: "河北省", Id: 3}, {Name: "山西省", Id: 4}, {Name: "内蒙古自治区", Id: 5}, {Name: "辽宁省", Id: 6}, {Name: "吉林省", Id: 7}, {Name: "黑龙江省", Id: 8}, {Name: "上海", Id: 9}, {Name: "江苏省", Id: 10}, {Name: "浙江省", Id: 11}, {Name: "安徽省", Id: 12}, {Name: "福建省", Id: 13}, {Name: "江西省", Id: 14}, {Name: "山东省", Id: 15}, {Name: "河南省", Id: 16}, {Name: "湖北省", Id: 17}, {Name: "湖南省", Id: 18}, {Name: "广东省", Id: 19}, {Name: "广西壮族自治区", Id: 20}, {Name: "海南省", Id: 21}, {Name: "重庆", Id: 22}, {Name: "四川省", Id: 23}, {Name: "贵州省", Id: 24}, {Name: "云南省", Id: 25}, {Name: "西藏自治区", Id: 26}, {Name: "陕西省", Id: 27}, {Name: "甘肃省", Id: 28}, {Name: "青海省", Id: 29}, {Name: "宁夏回族自治区", Id: 30}, {Name: "新疆维吾尔自治区", Id: 31}, {Name: "台湾省", Id: 32}, {Name: "香港特别行政区", Id: 33}, {Name: "澳门特别行政区", Id: 34}, {Name: "海外", Id: 35}},
}
View Source
var RegionById = map[int]RegionId{}/* 3460 elements not displayed */
View Source
var RegionByName = map[string][]RegionName{}/* 3366 elements not displayed */
View Source
var RegionByPid = map[int][]RegionPid{}/* 363 elements not displayed */

Functions

This section is empty.

Types

type CityId

type CityId struct {
	Name    string `json:"name"`
	Pid     int    `json:"pid"`
	Zipcode int    `json:"zipcode"`
}

type CityName

type CityName struct {
	Name    string `json:"name"`
	Id      int    `json:"id"`
	Pid     int    `json:"pid"`
	Zipcode int    `json:"zipcode"`
}

type CityPid

type CityPid struct {
	Name    string `json:"name"`
	Id      int    `json:"id"`
	Zipcode int    `json:"zipcode"`
}

type ProvinceId

type ProvinceId struct {
	Name string `json:"name"`
	Pid  int    `json:"pid"`
}

type ProvinceName

type ProvinceName struct {
	Name string `json:"name"`
	Id   int    `json:"id"`
	Pid  int    `json:"pid"`
}

type ProvincePid

type ProvincePid struct {
	Name string `json:"name"`
	Id   int    `json:"id"`
}

type RegionId

type RegionId struct {
	Name    string `json:"name"`
	Pid     int    `json:"pid"`
	Zipcode int    `json:"zipcode"`
}

type RegionName

type RegionName struct {
	Name    string `json:"name"`
	Id      int    `json:"id"`
	Pid     int    `json:"pid"`
	Zipcode int    `json:"zipcode"`
}

type RegionPid

type RegionPid struct {
	Name    string `json:"name"`
	Id      int    `json:"id"`
	Zipcode int    `json:"zipcode"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL