model.go 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. package model
  2. const (
  3. // OldPlatformIPhone old report iPhone.
  4. OldPlatformIPhone = 1
  5. // OldPlatformIPad old report iPad.
  6. OldPlatformIPad = 2
  7. // OldPlatformAndroid old report Android.
  8. OldPlatformAndroid = 3
  9. // OldPlatformIPadHD old report iPad HD.
  10. OldPlatformIPadHD = 4
  11. // OldPlatformAndroidNow old report Android Now.
  12. OldPlatformAndroidNow = 13
  13. )
  14. // VersionsIPhone iPhone versions.
  15. var VersionsIPhone = map[string]int{
  16. "5.16": 6140,
  17. "5.15": 6100,
  18. "5.14.1": 6090,
  19. "5.14": 6070,
  20. "5.13": 6060,
  21. "5.12.1": 6050,
  22. "5.12": 6040,
  23. "5.11.2": 6010,
  24. "5.11.1": 5990,
  25. "5.11": 5980,
  26. "5.10": 5960,
  27. "5.9": 5910,
  28. "5.8": 5800,
  29. "5.7.1": 5730,
  30. "5.7": 5710,
  31. "5.6": 5570,
  32. "5.5.1": 4470,
  33. "5.5": 4430,
  34. "5.4": 4360,
  35. "5.3": 4350,
  36. "5.2": 4310,
  37. "5.1.1": 4280,
  38. "5.1": 4270,
  39. "5.0.1": 4250,
  40. "5.0": 4240,
  41. "4.38": 4230,
  42. "4.37": 4180,
  43. "4.36.1": 4170,
  44. "4.36": 4160,
  45. "4.35.2": 4140,
  46. "4.35.1": 4130,
  47. "4.34": 4070,
  48. "4.33": 4040,
  49. "4.32": 4000,
  50. "4.31.1": 3970,
  51. "4.30": 3940,
  52. "4.29": 3910,
  53. "4.28": 3870,
  54. "4.27": 3710,
  55. "4.26": 3620,
  56. "4.25": 3600,
  57. "4.24.1": 3480,
  58. "4.24": 3470,
  59. "4.23.1": 3440,
  60. "4.23": 3430,
  61. "4.22.1": 3390,
  62. "4.22": 3380,
  63. "4.21.1": 3360,
  64. "4.21": 3350,
  65. "4.20": 3300,
  66. "4.19": 3220,
  67. "4.18": 3170,
  68. "4.17.1": 3110,
  69. "4.16": 3060,
  70. "4.15": 3010,
  71. "4.14.1": 2930,
  72. "4.13.1": 2840,
  73. "4.13": 2790,
  74. "4.12.1": 2710,
  75. "4.12": 2640,
  76. "4.11": 2530,
  77. "4.9": 2310,
  78. }
  79. // VersionsIPad iPad versions.
  80. var VersionsIPad = map[string]int{
  81. "1.50": 12040,
  82. "1.20": 12020,
  83. "1.19": 11900,
  84. "1.18": 10450,
  85. "1.17": 10430,
  86. "1.16.1": 10420,
  87. "1.16": 10410,
  88. "1.15": 10400,
  89. "1.14": 10390,
  90. "1.13": 10370,
  91. "1.12": 10350,
  92. "1.11": 10340,
  93. "1.10": 10330,
  94. "1.9": 10320,
  95. "1.8": 10280,
  96. "1.7": 10270,
  97. "1.6": 10260,
  98. "1.5": 10180,
  99. "1.3": 10070,
  100. "1.0": 10030,
  101. }