From 7384fd794b9bcb38cef7853cb55e56e810775678 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期五, 09 八月 2019 14:27:02 +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..d3dd49f 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) >= 58))) + 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