From f71ae35c5b20e51c5fba91284cc436076c9c73df Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期二, 03 十一月 2020 19:28:19 +0800 Subject: [PATCH] 淘宝订单备份 --- fanli/src/main/java/com/yeshi/fanli/util/VersionUtil.java | 18 +++++++++++++++++- 1 files changed, 17 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 8a3de78..98771b9 100644 --- a/fanli/src/main/java/com/yeshi/fanli/util/VersionUtil.java +++ b/fanli/src/main/java/com/yeshi/fanli/util/VersionUtil.java @@ -108,7 +108,23 @@ public static boolean greaterThan_2_1_1(String platform, String versionCode) { if ((("android".equalsIgnoreCase(platform) && Integer.parseInt(versionCode) >= 57)) - || (("ios".equalsIgnoreCase(platform) && Integer.parseInt(versionCode) >= 80))) + || (("ios".equalsIgnoreCase(platform) && Integer.parseInt(versionCode) >= 81))) + return true; + else + return false; + } + + public static boolean greaterThan_2_1_2(String platform, String versionCode) { + if ((("android".equalsIgnoreCase(platform) && Integer.parseInt(versionCode) >= 58)) + || (("ios".equalsIgnoreCase(platform) && Integer.parseInt(versionCode) >= 82))) + return true; + else + return false; + } + + public static boolean greaterThan_2_1_3(String platform, String versionCode) { + if ((("android".equalsIgnoreCase(platform) && Integer.parseInt(versionCode) >= 59)) + || (("ios".equalsIgnoreCase(platform) && Integer.parseInt(versionCode) >= 83))) return true; else return false; -- Gitblit v1.8.0