From 0d9ac58dc11f54351e5e18dba8e950717d78019f Mon Sep 17 00:00:00 2001
From: yujian <yujian@123.com>
Date: 星期一, 09 九月 2019 14:55:24 +0800
Subject: [PATCH] 搜索发现

---
 fanli/src/main/java/com/yeshi/fanli/util/VersionUtil.java |   42 ++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 42 insertions(+), 0 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 20b95e8..a08f18c 100644
--- a/fanli/src/main/java/com/yeshi/fanli/util/VersionUtil.java
+++ b/fanli/src/main/java/com/yeshi/fanli/util/VersionUtil.java
@@ -17,6 +17,48 @@
 		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)))
+			return true;
+		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)))
+			return true;
+		else
+			return false;
+	}
+
+	public static boolean greaterThan_1_6_0(String platform, String versionCode) {
+		if ((("android".equalsIgnoreCase(platform) && Integer.parseInt(versionCode) >= 46))
+				|| (("ios".equalsIgnoreCase(platform) && Integer.parseInt(versionCode) >= 58)))
+			return true;
+		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)))
+			return true;
+		else
+			return false;
+	}
+	
+	public static boolean greaterThan_2_0_0(String platform, String versionCode) {
+		if ((("android".equalsIgnoreCase(platform) && Integer.parseInt(versionCode) >= 48))
+				|| (("ios".equalsIgnoreCase(platform) && Integer.parseInt(versionCode) >= 66)))
+			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