data.go 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251
  1. package realname
  2. import (
  3. "go-common/app/interface/main/account/model"
  4. )
  5. var (
  6. cardTypeList = []*model.RealnameCardType{
  7. {ID: 0, Name: "身份证"},
  8. {ID: 2, Name: "港澳居民来往内地通行证"},
  9. {ID: 3, Name: "台湾居民来往大陆通行证"},
  10. {ID: 4, Name: "护照(中国签发)"},
  11. {ID: 5, Name: "外国人永久居留证"},
  12. {ID: 6, Name: "其他国家或地区身份证"},
  13. }
  14. // ios粉 <= 5.35版本兼容
  15. cardTypeOldIOSList = []*model.RealnameCardType{
  16. {ID: 0, Name: "身份证"},
  17. {ID: 1, Name: "护照(境外签发)"},
  18. {ID: 2, Name: "港澳居民来往内地通行证"},
  19. {ID: 3, Name: "台湾居民来往大陆通行证"},
  20. {ID: 4, Name: "护照(中国签发)"},
  21. {ID: 5, Name: "外国人永久居留证"},
  22. {ID: 6, Name: "其他国家或地区身份证"},
  23. }
  24. // 兼容老版本的证件列表
  25. cardTypeOldList = []*model.RealnameCardType{
  26. {ID: 0, Name: "身份证"},
  27. {ID: 1, Name: "护照(境外签发)"},
  28. {ID: 2, Name: "港澳居民来往内地通行证"},
  29. {ID: 3, Name: "台湾居民来往大陆通行证"},
  30. {ID: 4, Name: "护照(中国签发)"},
  31. {ID: 5, Name: "外国人永久居留证"},
  32. }
  33. countryList = []*model.RealnameCountry{
  34. // &model.RealnameCountry{ID: -1, CName: "---其他---"},
  35. // &model.RealnameCountry{ID: 0, CName: "---常见---"},
  36. {ID: 11, CName: "美国"},
  37. {ID: 12, CName: "加拿大"},
  38. {ID: 13, CName: "比利时"},
  39. {ID: 14, CName: "法国"},
  40. {ID: 15, CName: "澳大利亚"},
  41. {ID: 16, CName: "日本"},
  42. {ID: 17, CName: "新加坡"},
  43. {ID: 18, CName: "韩国"},
  44. {ID: 19, CName: "马来西亚"},
  45. {ID: 20, CName: "英国"},
  46. {ID: 21, CName: "意大利"},
  47. {ID: 22, CName: "德国"},
  48. {ID: 23, CName: "俄罗斯"},
  49. {ID: 24, CName: "新西兰"},
  50. {ID: 25, CName: "阿尔巴尼亚"},
  51. {ID: 26, CName: "阿尔及利亚"},
  52. {ID: 27, CName: "阿富汗"},
  53. {ID: 28, CName: "阿根廷"},
  54. {ID: 29, CName: "阿联酋"},
  55. {ID: 30, CName: "阿曼"},
  56. {ID: 31, CName: "阿塞拜疆"},
  57. {ID: 32, CName: "埃及"},
  58. {ID: 33, CName: "埃塞俄比亚"},
  59. {ID: 34, CName: "爱尔兰"},
  60. {ID: 35, CName: "爱沙尼亚"},
  61. {ID: 36, CName: "安道尔"},
  62. {ID: 37, CName: "安哥拉"},
  63. {ID: 38, CName: "安提瓜岛和巴布达"},
  64. {ID: 39, CName: "奥地利"},
  65. {ID: 40, CName: "巴巴多斯"},
  66. {ID: 41, CName: "巴布亚新几内亚"},
  67. {ID: 42, CName: "巴哈马群岛"},
  68. {ID: 43, CName: "巴基斯坦"},
  69. {ID: 44, CName: "巴拉圭"},
  70. {ID: 45, CName: "巴林"},
  71. {ID: 46, CName: "巴拿马"},
  72. {ID: 47, CName: "巴西"},
  73. {ID: 48, CName: "白俄罗斯"},
  74. {ID: 49, CName: "百慕大群岛"},
  75. {ID: 50, CName: "保加利亚"},
  76. {ID: 51, CName: "贝宁"},
  77. {ID: 52, CName: "冰岛"},
  78. {ID: 53, CName: "波多黎各"},
  79. {ID: 54, CName: "波黑"},
  80. {ID: 55, CName: "波兰"},
  81. {ID: 56, CName: "玻利维亚"},
  82. {ID: 57, CName: "伯利兹"},
  83. {ID: 58, CName: "博茨瓦纳"},
  84. {ID: 59, CName: "不丹"},
  85. {ID: 60, CName: "布基纳法索"},
  86. {ID: 61, CName: "布隆迪"},
  87. {ID: 62, CName: "赤道几内亚"},
  88. {ID: 63, CName: "丹麦"},
  89. {ID: 64, CName: "迪戈加西亚岛"},
  90. {ID: 65, CName: "多哥"},
  91. {ID: 66, CName: "多米尼加"},
  92. {ID: 67, CName: "多米尼加代表"},
  93. {ID: 68, CName: "厄瓜多尔"},
  94. {ID: 69, CName: "厄立特里亚"},
  95. {ID: 70, CName: "法罗岛"},
  96. {ID: 71, CName: "法属波利尼西亚"},
  97. {ID: 72, CName: "法属圭亚那"},
  98. {ID: 73, CName: "非洲中部"},
  99. {ID: 74, CName: "菲律宾"},
  100. {ID: 75, CName: "斐济"},
  101. {ID: 76, CName: "芬兰"},
  102. {ID: 77, CName: "佛得角"},
  103. {ID: 78, CName: "福克兰岛"},
  104. {ID: 79, CName: "冈比亚"},
  105. {ID: 80, CName: "刚果"},
  106. {ID: 81, CName: "刚果CName:(金)"},
  107. {ID: 82, CName: "哥伦比亚"},
  108. {ID: 83, CName: "哥斯达黎加"},
  109. {ID: 84, CName: "格林纳达"},
  110. {ID: 85, CName: "格陵兰岛"},
  111. {ID: 86, CName: "古巴"},
  112. {ID: 87, CName: "瓜德罗普岛"},
  113. {ID: 88, CName: "关岛"},
  114. {ID: 89, CName: "海地"},
  115. {ID: 90, CName: "韩国"},
  116. {ID: 91, CName: "荷兰"},
  117. {ID: 92, CName: "洪都拉斯"},
  118. {ID: 93, CName: "维克岛"},
  119. {ID: 94, CName: "基里巴斯"},
  120. {ID: 95, CName: "吉布提"},
  121. {ID: 96, CName: "吉尔吉斯斯坦"},
  122. {ID: 97, CName: "几内亚"},
  123. {ID: 98, CName: "几内亚比绍"},
  124. {ID: 99, CName: "加纳"},
  125. {ID: 100, CName: "加蓬"},
  126. {ID: 101, CName: "柬埔寨"},
  127. {ID: 102, CName: "捷克"},
  128. {ID: 103, CName: "津巴布韦"},
  129. {ID: 104, CName: "聚会岛"},
  130. {ID: 105, CName: "喀麦隆"},
  131. {ID: 106, CName: "卡塔尔"},
  132. {ID: 107, CName: "开曼群岛"},
  133. {ID: 108, CName: "科摩罗"},
  134. {ID: 109, CName: "科威特"},
  135. {ID: 110, CName: "克罗地亚"},
  136. {ID: 111, CName: "肯尼亚"},
  137. {ID: 112, CName: "库克岛"},
  138. {ID: 113, CName: "拉脱维亚"},
  139. {ID: 114, CName: "莱索托"},
  140. {ID: 115, CName: "老挝"},
  141. {ID: 116, CName: "黎巴嫩"},
  142. {ID: 117, CName: "立陶宛"},
  143. {ID: 118, CName: "利比里亚"},
  144. {ID: 119, CName: "利比亚"},
  145. {ID: 120, CName: "卢森堡"},
  146. {ID: 121, CName: "卢旺达"},
  147. {ID: 122, CName: "罗马尼亚"},
  148. {ID: 123, CName: "马达加斯加"},
  149. {ID: 124, CName: "马尔代夫"},
  150. {ID: 125, CName: "马耳他"},
  151. {ID: 126, CName: "马拉维"},
  152. {ID: 127, CName: "马里"},
  153. {ID: 128, CName: "马里亚纳岛"},
  154. {ID: 129, CName: "马其顿"},
  155. {ID: 130, CName: "马提尼克岛"},
  156. {ID: 131, CName: "马歇尔岛"},
  157. {ID: 132, CName: "毛里求斯"},
  158. {ID: 133, CName: "毛利塔尼亚"},
  159. {ID: 134, CName: "蒙古"},
  160. {ID: 135, CName: "蒙特塞拉特岛"},
  161. {ID: 136, CName: "孟加拉国"},
  162. {ID: 137, CName: "秘鲁"},
  163. {ID: 138, CName: "密克罗尼西亚"},
  164. {ID: 139, CName: "缅甸"},
  165. {ID: 140, CName: "摩尔多瓦"},
  166. {ID: 141, CName: "摩洛哥"},
  167. {ID: 142, CName: "摩纳哥"},
  168. {ID: 143, CName: "莫桑比克"},
  169. {ID: 144, CName: "墨西哥"},
  170. {ID: 145, CName: "纳米比亚"},
  171. {ID: 146, CName: "南非"},
  172. {ID: 147, CName: "南斯拉夫"},
  173. {ID: 148, CName: "瑙鲁"},
  174. {ID: 149, CName: "尼泊尔"},
  175. {ID: 150, CName: "尼加拉瓜"},
  176. {ID: 151, CName: "尼日尔"},
  177. {ID: 152, CName: "尼日利亚"},
  178. {ID: 153, CName: "纽埃岛"},
  179. {ID: 154, CName: "挪威"},
  180. {ID: 155, CName: "诺福克岛"},
  181. {ID: 156, CName: "帕劳"},
  182. {ID: 157, CName: "葡萄牙"},
  183. {ID: 158, CName: "瓦利斯群岛和富图纳群岛"},
  184. {ID: 159, CName: "格鲁吉亚"},
  185. {ID: 160, CName: "瑞典"},
  186. {ID: 161, CName: "瑞士"},
  187. {ID: 162, CName: "萨尔瓦多"},
  188. {ID: 163, CName: "萨摩亚、西部"},
  189. {ID: 164, CName: "萨摩亚、东部"},
  190. {ID: 165, CName: "塞拉利昂"},
  191. {ID: 166, CName: "塞内加尔"},
  192. {ID: 167, CName: "塞浦路斯"},
  193. {ID: 168, CName: "塞舌尔共和国"},
  194. {ID: 169, CName: "桑给巴尔岛"},
  195. {ID: 170, CName: "沙特阿拉伯"},
  196. {ID: 171, CName: "圣多美和普林西比"},
  197. {ID: 172, CName: "圣卢西亚"},
  198. {ID: 173, CName: "圣马力诺"},
  199. {ID: 174, CName: "圣皮埃尔和密克隆群岛"},
  200. {ID: 175, CName: "斯里兰卡"},
  201. {ID: 176, CName: "斯洛伐克"},
  202. {ID: 177, CName: "斯洛文尼亚"},
  203. {ID: 178, CName: "斯威士兰"},
  204. {ID: 179, CName: "苏丹"},
  205. {ID: 180, CName: "苏里南"},
  206. {ID: 181, CName: "所罗门群岛"},
  207. {ID: 182, CName: "索马里"},
  208. {ID: 183, CName: "泰国"},
  209. {ID: 184, CName: "坦桑尼亚"},
  210. {ID: 185, CName: "汤加"},
  211. {ID: 186, CName: "特克斯和凯科斯"},
  212. {ID: 187, CName: "特立尼达和多巴哥"},
  213. {ID: 188, CName: "阿森松岛"},
  214. {ID: 189, CName: "突尼斯"},
  215. {ID: 190, CName: "图瓦卢"},
  216. {ID: 191, CName: "土耳其"},
  217. {ID: 192, CName: "土库曼斯坦"},
  218. {ID: 193, CName: "托克劳岛"},
  219. {ID: 194, CName: "瓦努阿图"},
  220. {ID: 195, CName: "维珍群岛:(美属)"},
  221. {ID: 196, CName: "维珍群岛:(英属)"},
  222. {ID: 197, CName: "委内瑞拉"},
  223. {ID: 198, CName: "文莱"},
  224. {ID: 199, CName: "乌干达"},
  225. {ID: 200, CName: "乌克兰"},
  226. {ID: 201, CName: "乌拉圭"},
  227. {ID: 202, CName: "乌兹别克斯坦"},
  228. {ID: 203, CName: "西班牙"},
  229. {ID: 204, CName: "希腊"},
  230. {ID: 205, CName: "科特迪瓦"},
  231. {ID: 206, CName: "匈牙利"},
  232. {ID: 207, CName: "叙利亚"},
  233. {ID: 208, CName: "牙买加"},
  234. {ID: 209, CName: "亚美尼亚"},
  235. {ID: 210, CName: "也门"},
  236. {ID: 211, CName: "伊拉克"},
  237. {ID: 212, CName: "伊朗"},
  238. {ID: 213, CName: "以色列"},
  239. {ID: 214, CName: "印度"},
  240. {ID: 215, CName: "印尼"},
  241. {ID: 216, CName: "约旦"},
  242. {ID: 217, CName: "越南"},
  243. {ID: 218, CName: "赞比亚"},
  244. {ID: 219, CName: "乍得"},
  245. {ID: 220, CName: "直布罗陀"},
  246. {ID: 221, CName: "智利"},
  247. }
  248. )