admin
2019-06-11 ca6c28a1e4c7ecdabc81ca839ea620b14bfb2f82
fanli/src/main/java/com/yeshi/fanli/util/VersionUtil.java
@@ -10,4 +10,20 @@
         return false;
   }
   public static boolean greaterThan_1_5_50(String platform, String versionCode) {
      if ((("android".equalsIgnoreCase(platform) && Integer.parseInt(versionCode) >= 42))
            || (("ios".equalsIgnoreCase(platform) && Integer.parseInt(versionCode) >= 51)))
         return true;
      else
         return false;
   }
   public static boolean smallerThan_1_5_1(String platform, String versionCode) {
      if ((("android".equalsIgnoreCase(platform) && Integer.parseInt(versionCode) < 36))
            || (("ios".equalsIgnoreCase(platform) && Integer.parseInt(versionCode) < 44)))
         return true;
      else
         return false;
   }
}