From 17adf675c4a522f1c1c130046e94eda4b8cb304b Mon Sep 17 00:00:00 2001 From: yujian <yujian@123.com> Date: 星期三, 31 七月 2019 10:50:08 +0800 Subject: [PATCH] 品牌好货 --- fanli/src/main/java/com/yeshi/fanli/util/VersionUtil.java | 8 +++++++- 1 files changed, 7 insertions(+), 1 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 84918bc..5f9da68 100644 --- a/fanli/src/main/java/com/yeshi/fanli/util/VersionUtil.java +++ b/fanli/src/main/java/com/yeshi/fanli/util/VersionUtil.java @@ -35,7 +35,13 @@ 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) >= 57))) + 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