go-common/app/interface/main/account/model/enum.go

531 lines
15 KiB
Go
Raw Normal View History

2019-04-22 10:49:16 +00:00
package model
//Type type.
type Type struct {
ID int64 `json:"id"`
Type string `json:"type"`
}
// Origin coin origin
var Origin = map[int64]string{
1: "举报奖励",
2: "违规惩罚",
3: "撤销奖励",
4: "撤销惩罚",
5: "自动恢复",
6: "管理员操作",
}
// var .
var (
unmarried = &Type{1, "未婚"}
married = &Type{2, "已婚"}
divorce = &Type{3, "离异"}
widowed = &Type{4, "丧偶"}
Maritals = map[int]*Type{
1: unmarried,
2: married,
3: divorce,
4: widowed,
}
netFriend = &Type{1, "网友"}
lover = &Type{2, "恋人"}
playmate = &Type{3, "玩伴"}
commonInterest = &Type{3, "共同兴趣"}
boyFriend = &Type{5, "男性朋友"}
girFriend = &Type{6, "女性朋友"}
DatingTypes = map[int]*Type{
1: netFriend,
2: lover,
3: playmate,
4: commonInterest,
5: boyFriend,
6: girFriend,
}
Places = map[int]*Type{
500: {500, "北京市"},
501: {501, "西城区"},
502: {502, "崇文区"},
503: {503, "宣武区"},
504: {504, "朝阳区"},
505: {505, "海淀区"},
506: {506, "丰台区"},
507: {507, "石景山区"},
508: {508, "门头沟区"},
509: {509, "房山区"},
510: {510, "通州区"},
511: {511, "顺义区"},
512: {512, "昌平区"},
513: {513, "大兴区"},
514: {514, "平谷县"},
515: {515, "怀柔县"},
516: {516, "密云县"},
517: {517, "延庆县"},
518: {518, "东城区"},
1000: {1000, "上海市"},
1001: {1001, "黄浦区"},
1002: {1002, "卢湾区"},
1003: {1003, "徐汇区"},
1004: {1004, "长宁区"},
1005: {1005, "静安区"},
1006: {1006, "普陀区"},
1007: {1007, "闸北区"},
1008: {1008, "虹口区"},
1009: {1009, "杨浦区"},
1010: {1010, "宝山区"},
1011: {1011, "闵行区"},
1012: {1012, "嘉定区"},
1013: {1013, "浦东新区"},
1014: {1014, "松江区"},
1015: {1015, "金山区"},
1016: {1016, "青浦区"},
1017: {1017, "南汇区"},
1018: {1018, "奉贤区"},
1019: {1019, "崇明县"},
1500: {1500, "天津市"},
1501: {1501, "和平区"},
1502: {1502, "河东区"},
1503: {1503, "河西区"},
1504: {1504, "南开区"},
1505: {1505, "河北区"},
1506: {1506, "红桥区"},
1507: {1507, "塘沽区"},
1508: {1508, "汉沽区"},
1509: {1509, "大港区"},
1510: {1510, "东丽区"},
1511: {1511, "西青区"},
1512: {1512, "北辰区"},
1513: {1513, "津南区"},
1514: {1514, "武清区"},
1515: {1515, "宝坻区"},
1516: {1516, "静海县"},
1517: {1517, "宁河县"},
1518: {1518, "蓟县"},
2000: {2000, "重庆市"},
2001: {2001, "渝中区"},
2002: {2002, "大渡口区"},
2003: {2003, "江北区"},
2004: {2004, "沙坪坝区"},
2005: {2005, "九龙坡区"},
2006: {2006, "南岸区"},
2007: {2007, "北碚区"},
2008: {2008, "万盛区"},
2009: {2009, "双桥区"},
2010: {2010, "渝北区"},
2011: {2011, "巴南区"},
2012: {2012, "万州区"},
2013: {2013, "涪陵区"},
2014: {2014, "黔江区"},
2015: {2015, "永川市"},
2016: {2016, "合川市"},
2017: {2017, "江津市"},
2018: {2018, "南川市"},
2019: {2019, "长寿县"},
2020: {2020, "綦江县"},
2021: {2021, "潼南县"},
2022: {2022, "荣昌县"},
2023: {2023, "璧山县"},
2024: {2024, "大足县"},
2025: {2025, "铜梁县"},
2026: {2026, "梁平县"},
2027: {2027, "城口县"},
2028: {2028, "垫江县"},
2029: {2029, "武隆县"},
2030: {2030, "丰都县"},
2031: {2031, "奉节县"},
2032: {2032, "开县"},
2033: {2033, "云阳县"},
2034: {2034, "忠县"},
2035: {2035, "巫溪县"},
2036: {2036, "巫山县"},
2037: {2037, "石柱县"},
2038: {2038, "秀山县"},
2039: {2039, "酉阳县"},
2040: {2040, "彭水县"},
2500: {2500, "广东省"},
2501: {2501, "广州市"},
2502: {2502, "深圳市"},
2503: {2503, "珠海市"},
2504: {2504, "汕头市"},
2505: {2505, "韶关市"},
2506: {2506, "河源市"},
2507: {2507, "梅州市"},
2508: {2508, "惠州市"},
2509: {2509, "汕尾市"},
2510: {2510, "东莞市"},
2511: {2511, "中山市"},
2512: {2512, "江门市"},
2513: {2513, "佛山市"},
2514: {2514, "阳江市"},
2515: {2515, "湛江市"},
2516: {2516, "茂名市"},
2517: {2517, "肇庆市"},
2518: {2518, "清远市"},
2519: {2519, "潮州市"},
2520: {2520, "揭阳市"},
2521: {2521, "云浮市"},
3000: {3000, "福建省"},
3001: {3001, "福州市"},
3002: {3002, "厦门市"},
3003: {3003, "三明市"},
3004: {3004, "莆田市"},
3005: {3005, "泉州市"},
3006: {3006, "漳州市"},
3007: {3007, "南平市"},
3008: {3008, "龙岩市"},
3009: {3009, "宁德市"},
3500: {3500, "浙江省"},
3501: {3501, "杭州市"},
3502: {3502, "宁波市"},
3503: {3503, "温州市"},
3504: {3504, "嘉兴市"},
3505: {3505, "湖州市"},
3506: {3506, "绍兴市"},
3507: {3507, "金华市"},
3508: {3508, "衢州市"},
3509: {3509, "舟山市"},
3510: {3510, "台州市"},
3511: {3511, "丽水市"},
4000: {4000, "江苏省"},
4001: {4001, "南京市"},
4002: {4002, "徐州市"},
4003: {4003, "连云港市"},
4004: {4004, "淮安市"},
4005: {4005, "宿迁市"},
4006: {4006, "盐城市"},
4007: {4007, "扬州市"},
4008: {4008, "泰州市"},
4009: {4009, "南通市"},
4010: {4010, "镇江市"},
4011: {4011, "常州市"},
4012: {4012, "无锡市"},
4013: {4013, "苏州市"},
4500: {4500, "山东省"},
4501: {4501, "济南市"},
4502: {4502, "青岛市"},
4503: {4503, "淄博市"},
4504: {4504, "枣庄市"},
4505: {4505, "东营市"},
4506: {4506, "潍坊市"},
4507: {4507, "烟台市"},
4508: {4508, "威海市"},
4509: {4509, "济宁市"},
4510: {4510, "泰安市"},
4511: {4511, "日照市"},
4512: {4512, "莱芜市"},
4513: {4513, "德州市"},
4514: {4514, "临沂市"},
4515: {4515, "聊城市"},
4516: {4516, "滨州市"},
4517: {4517, "菏泽市"},
5000: {5000, "辽宁省"},
5001: {5001, "沈阳市"},
5002: {5002, "大连市"},
5003: {5003, "鞍山市"},
5004: {5004, "抚顺市"},
5005: {5005, "本溪市"},
5006: {5006, "丹东市"},
5007: {5007, "锦州市"},
5008: {5008, "葫芦岛市"},
5009: {5009, "营口市"},
5010: {5010, "盘锦市"},
5011: {5011, "阜新市"},
5012: {5012, "辽阳市"},
5013: {5013, "铁岭市"},
5014: {5014, "朝阳市"},
5500: {5500, "江西省"},
5501: {5501, "南昌市"},
5502: {5502, "景德镇市"},
5503: {5503, "萍乡市"},
5504: {5504, "新余市"},
5505: {5505, "九江市"},
5506: {5506, "鹰潭市"},
5507: {5507, "赣州市"},
5508: {5508, "吉安市"},
5509: {5509, "宜春市"},
5510: {5510, "抚州市"},
5511: {5511, "上饶市"},
6000: {6000, "四川省"},
6001: {6001, "成都市"},
6002: {6002, "自贡市"},
6003: {6003, "攀枝花市"},
6004: {6004, "泸州市"},
6005: {6005, "德阳市"},
6006: {6006, "绵阳市"},
6007: {6007, "广元市"},
6008: {6008, "遂宁市"},
6009: {6009, "内江市"},
6010: {6010, "乐山市"},
6011: {6011, "南充市"},
6012: {6012, "宜宾市"},
6013: {6013, "广安市"},
6014: {6014, "达州市"},
6015: {6015, "巴中市"},
6016: {6016, "雅安市"},
6017: {6017, "眉山市"},
6018: {6018, "资阳市"},
6019: {6019, "阿坝州"},
6020: {6020, "甘孜州"},
6021: {6021, "凉山州"},
6500: {6500, "陕西省"},
6501: {6501, "西安市"},
6502: {6502, "铜川市"},
6503: {6503, "宝鸡市"},
6504: {6504, "咸阳市"},
6505: {6505, "渭南市"},
6506: {6506, "延安市"},
6507: {6507, "汉中市"},
6508: {6508, "榆林市"},
6509: {6509, "安康市"},
6510: {6510, "商洛地区"},
7000: {7000, "湖北省"},
7001: {7001, "武汉市"},
7002: {7002, "黄石市"},
7003: {7003, "襄樊市"},
7004: {7004, "十堰市"},
7005: {7005, "荆州市"},
7006: {7006, "宜昌市"},
7007: {7007, "荆门市"},
7008: {7008, "鄂州市"},
7009: {7009, "孝感市"},
7010: {7010, "黄冈市"},
7011: {7011, "咸宁市"},
7012: {7012, "随州市"},
7013: {7013, "仙桃市"},
7014: {7014, "天门市"},
7015: {7015, "潜江市"},
7016: {7016, "神农架"},
7017: {7017, "恩施州"},
7500: {7500, "河南省"},
7501: {7501, "郑州市"},
7502: {7502, "开封市"},
7503: {7503, "洛阳市"},
7504: {7504, "平顶山市"},
7505: {7505, "焦作市"},
7506: {7506, "鹤壁市"},
7507: {7507, "新乡市"},
7508: {7508, "安阳市"},
7509: {7509, "濮阳市"},
7510: {7510, "许昌市"},
7511: {7511, "漯河市"},
7512: {7512, "三门峡市"},
7513: {7513, "南阳市"},
7514: {7514, "商丘市"},
7515: {7515, "信阳市"},
7516: {7516, "周口市"},
7517: {7517, "驻马店市"},
7518: {7518, "济源市"},
8000: {8000, "河北省"},
8001: {8001, "石家庄市"},
8002: {8002, "唐山市"},
8003: {8003, "秦皇岛市"},
8004: {8004, "邯郸市"},
8005: {8005, "邢台市"},
8006: {8006, "保定市"},
8007: {8007, "张家口市"},
8008: {8008, "承德市"},
8009: {8009, "沧州市"},
8010: {8010, "廊坊市"},
8011: {8011, "衡水市"},
8500: {8500, "山西省"},
8501: {8501, "太原市"},
8502: {8502, "大同市"},
8503: {8503, "阳泉市"},
8504: {8504, "长治市"},
8505: {8505, "晋城市"},
8506: {8506, "朔州市"},
8507: {8507, "晋中市"},
8508: {8508, "忻州市"},
8509: {8509, "临汾市"},
8510: {8510, "运城市"},
8511: {8511, "吕梁地区"},
9000: {9000, "内蒙古"},
9001: {9001, "呼和浩特"},
9002: {9002, "包头市"},
9003: {9003, "乌海市"},
9004: {9004, "赤峰市"},
9005: {9005, "通辽市"},
9006: {9006, "鄂尔多斯"},
9007: {9007, "乌兰察布"},
9008: {9008, "锡林郭勒"},
9009: {9009, "呼伦贝尔"},
9010: {9010, "巴彦淖尔"},
9011: {9011, "阿拉善盟"},
9012: {9012, "兴安盟"},
9500: {9500, "吉林省"},
9501: {9501, "长春市"},
9502: {9502, "吉林市"},
9503: {9503, "四平市"},
9504: {9504, "辽源市"},
9505: {9505, "通化市"},
9506: {9506, "白山市"},
9507: {9507, "松原市"},
9508: {9508, "白城市"},
9509: {9509, "延边州"},
10000: {10000, "黑龙江"},
10001: {10001, "哈尔滨市"},
10002: {10002, "齐齐哈尔"},
10003: {10003, "鹤岗市"},
10004: {10004, "双鸭山市"},
10005: {10005, "鸡西市"},
10006: {10006, "大庆市"},
10007: {10007, "伊春市"},
10008: {10008, "牡丹江市"},
10009: {10009, "佳木斯市"},
10010: {10010, "七台河市"},
10011: {10011, "黑河市"},
10012: {10012, "绥化市"},
10013: {10013, "大兴安岭"},
10500: {10500, "安徽省"},
10501: {10501, "合肥市"},
10502: {10502, "芜湖市"},
10503: {10503, "蚌埠市"},
10504: {10504, "淮南市"},
10505: {10505, "马鞍山市"},
10506: {10506, "淮北市"},
10507: {10507, "铜陵市"},
10508: {10508, "安庆市"},
10509: {10509, "黄山市"},
10510: {10510, "滁州市"},
10511: {10511, "阜阳市"},
10512: {10512, "宿州市"},
10513: {10513, "巢湖市"},
10514: {10514, "六安市"},
10515: {10515, "亳州市"},
10516: {10516, "宣城市"},
10517: {10517, "池州市"},
11000: {11000, "湖南省"},
11001: {11001, "长沙市"},
11002: {11002, "株州市"},
11003: {11003, "湘潭市"},
11004: {11004, "衡阳市"},
11005: {11005, "邵阳市"},
11006: {11006, "岳阳市"},
11007: {11007, "常德市"},
11008: {11008, "张家界市"},
11009: {11009, "益阳市"},
11010: {11010, "郴州市"},
11011: {11011, "永州市"},
11012: {11012, "怀化市"},
11013: {11013, "娄底市"},
11014: {11014, "湘西州"},
11500: {11500, "广西区"},
11501: {11501, "南宁市"},
11502: {11502, "柳州市"},
11503: {11503, "桂林市"},
11504: {11504, "梧州市"},
11505: {11505, "北海市"},
11506: {11506, "防城港市"},
11507: {11507, "钦州市"},
11508: {11508, "贵港市"},
11509: {11509, "玉林市"},
11510: {11510, "南宁地区"},
11511: {11511, "柳州地区"},
11512: {11512, "贺州地区"},
11513: {11513, "百色地区"},
11514: {11514, "河池地区"},
12000: {12000, "海南省"},
12001: {12001, "海口市"},
12002: {12002, "三亚市"},
12003: {12003, "五指山市"},
12004: {12004, "琼海市"},
12005: {12005, "儋州市"},
12006: {12006, "琼山市"},
12007: {12007, "文昌市"},
12008: {12008, "万宁市"},
12009: {12009, "东方市"},
12010: {12010, "澄迈县"},
12011: {12011, "定安县"},
12012: {12012, "屯昌县"},
12013: {12013, "临高县"},
12014: {12014, "白沙县"},
12015: {12015, "昌江县"},
12016: {12016, "乐东县"},
12017: {12017, "陵水县"},
12018: {12018, "保亭县"},
12019: {12019, "琼中县"},
12500: {12500, "云南省"},
12501: {12501, "昆明市"},
12502: {12502, "曲靖市"},
12503: {12503, "玉溪市"},
12504: {12504, "保山市"},
12505: {12505, "昭通市"},
12506: {12506, "思茅地区"},
12507: {12507, "临沧地区"},
12508: {12508, "丽江地区"},
12509: {12509, "文山州"},
12510: {12510, "红河州"},
12511: {12511, "西双版纳"},
12512: {12512, "楚雄州"},
12513: {12513, "大理州"},
12514: {12514, "德宏州"},
12515: {12515, "怒江州"},
12516: {12516, "迪庆州"},
13000: {13000, "贵州省"},
13001: {13001, "贵阳市"},
13002: {13002, "六盘水市"},
13003: {13003, "遵义市"},
13004: {13004, "安顺市"},
13005: {13005, "铜仁地区"},
13006: {13006, "毕节地区"},
13007: {13007, "黔西南州"},
13008: {13008, "黔东南州"},
13009: {13009, "黔南州"},
13500: {13500, "西藏区"},
13501: {13501, "拉萨市"},
13502: {13502, "那曲地区"},
13503: {13503, "昌都地区"},
13504: {13504, "山南地区"},
13505: {13505, "日喀则"},
13506: {13506, "阿里地区"},
13507: {13507, "林芝地区"},
14000: {14000, "甘肃省"},
14001: {14001, "兰州市"},
14002: {14002, "金昌市"},
14003: {14003, "白银市"},
14004: {14004, "天水市"},
14005: {14005, "嘉峪关市"},
14006: {14006, "武威市"},
14007: {14007, "定西地区"},
14008: {14008, "平凉地区"},
14009: {14009, "庆阳地区"},
14010: {14010, "陇南地区"},
14011: {14011, "张掖地区"},
14012: {14012, "酒泉地区"},
14013: {14013, "甘南州"},
14014: {14014, "临夏州"},
14500: {14500, "宁夏区"},
14501: {14501, "银川市"},
14502: {14502, "石嘴山市"},
14503: {14503, "吴忠市"},
14504: {14504, "固原市"},
15000: {15000, "青海省"},
15001: {15001, "西宁市"},
15002: {15002, "海东地区"},
15003: {15003, "海北州"},
15004: {15004, "黄南州"},
15005: {15005, "海南州"},
15006: {15006, "果洛州"},
15007: {15007, "玉树州"},
15008: {15008, "海西州"},
15500: {15500, "新疆区"},
15501: {15501, "乌鲁木齐"},
15502: {15502, "克拉玛依"},
15503: {15503, "石河子市"},
15504: {15504, "吐鲁番"},
15505: {15505, "哈密地区"},
15506: {15506, "和田地区"},
15507: {15507, "阿克苏"},
15508: {15508, "喀什地区"},
15509: {15509, "克孜勒苏"},
15510: {15510, "巴音郭楞"},
15511: {15511, "昌吉州"},
15512: {15512, "博尔塔拉"},
15513: {15513, "伊犁州"},
16000: {16000, "香港区"},
16500: {16500, "澳门区"},
17500: {17500, "台湾省"},
15514: {15514, "阿勒泰地区"},
}
)