yj
2020-03-06 207dc8655711cddac2653e18b51e58a88dba2084
fanli/src/main/java/com/yeshi/fanli/util/VersionUtil.java
@@ -74,13 +74,29 @@
         return false;
   }
   public static boolean greaterThan_2_1(String platform, String versionCode) {
   public static boolean greaterThan_2_0_5(String platform, String versionCode) {
      if ((("android".equalsIgnoreCase(platform) && Integer.parseInt(versionCode) >= 52))
            || (("ios".equalsIgnoreCase(platform) && Integer.parseInt(versionCode) >= 73)))
         return true;
      else
         return false;
   }
   public static boolean greaterThan_2_0_6(String platform, String versionCode) {
      if ((("android".equalsIgnoreCase(platform) && Integer.parseInt(versionCode) >= 54))
            || (("ios".equalsIgnoreCase(platform) && Integer.parseInt(versionCode) >= 74)))
         return true;
      else
         return false;
   }
   public static boolean greaterThan_2_0_7(String platform, String versionCode) {
      if ((("android".equalsIgnoreCase(platform) && Integer.parseInt(versionCode) >= 55))
            || (("ios".equalsIgnoreCase(platform) && Integer.parseInt(versionCode) >= 77)))
         return true;
      else
         return false;
   }
   public static boolean smallerThan_1_5_1(String platform, String versionCode) {
      if ((("android".equalsIgnoreCase(platform) && Integer.parseInt(versionCode) < 36))