From 09417e97672be66c5e312b10f23a9e30da3acb97 Mon Sep 17 00:00:00 2001
From: Administrator <Administrator@MS-20170306HGUF>
Date: 星期一, 24 二月 2020 15:23:08 +0800
Subject: [PATCH] 热销转换发圈

---
 fanli/src/main/java/com/yeshi/fanli/util/VersionUtil.java |   50 ++++++++++++++++++++++++++++++++++++++++++++------
 1 files changed, 44 insertions(+), 6 deletions(-)

diff --git a/fanli/src/main/java/com/yeshi/fanli/util/VersionUtil.java b/fanli/src/main/java/com/yeshi/fanli/util/VersionUtil.java
index a08f18c..be011db 100644
--- a/fanli/src/main/java/com/yeshi/fanli/util/VersionUtil.java
+++ b/fanli/src/main/java/com/yeshi/fanli/util/VersionUtil.java
@@ -17,7 +17,7 @@
 		else
 			return false;
 	}
-	
+
 	public static boolean greaterThan_1_5_60(String platform, String versionCode) {
 		if ((("android".equalsIgnoreCase(platform) && Integer.parseInt(versionCode) >= 43))
 				|| (("ios".equalsIgnoreCase(platform) && Integer.parseInt(versionCode) >= 54)))
@@ -25,8 +25,7 @@
 		else
 			return false;
 	}
-	
-	
+
 	public static boolean greaterThan_1_5_70(String platform, String versionCode) {
 		if ((("android".equalsIgnoreCase(platform) && Integer.parseInt(versionCode) >= 45))
 				|| (("ios".equalsIgnoreCase(platform) && Integer.parseInt(versionCode) >= 56)))
@@ -42,7 +41,7 @@
 		else
 			return false;
 	}
-	
+
 	public static boolean greaterThan_1_6_5(String platform, String versionCode) {
 		if ((("android".equalsIgnoreCase(platform) && Integer.parseInt(versionCode) >= 47))
 				|| (("ios".equalsIgnoreCase(platform) && Integer.parseInt(versionCode) >= 65)))
@@ -50,8 +49,8 @@
 		else
 			return false;
 	}
-	
-	public static boolean greaterThan_2_0_0(String platform, String versionCode) {
+
+	public static boolean greaterThan_2_0(String platform, String versionCode) {
 		if ((("android".equalsIgnoreCase(platform) && Integer.parseInt(versionCode) >= 48))
 				|| (("ios".equalsIgnoreCase(platform) && Integer.parseInt(versionCode) >= 66)))
 			return true;
@@ -59,6 +58,45 @@
 			return false;
 	}
 
+	public static boolean greaterThan_2_0_1(String platform, String versionCode) {
+		if ((("android".equalsIgnoreCase(platform) && Integer.parseInt(versionCode) >= 50))
+				|| (("ios".equalsIgnoreCase(platform) && Integer.parseInt(versionCode) >= 67)))
+			return true;
+		else
+			return false;
+	}
+
+	public static boolean greaterThan_2_0_2(String platform, String versionCode) {
+		if ((("android".equalsIgnoreCase(platform) && Integer.parseInt(versionCode) >= 51))
+				|| (("ios".equalsIgnoreCase(platform) && Integer.parseInt(versionCode) >= 70)))
+			return true;
+		else
+			return false;
+	}
+
+	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))

--
Gitblit v1.8.0