From 534a87e48dfbaff65605995ec2a29211e0a8f45a Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期五, 15 十一月 2019 16:06:51 +0800 Subject: [PATCH] 红包功能改为2.1版本后再放开 --- fanli/src/main/java/com/yeshi/fanli/aspect/VersionLimitAspect.java | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/aspect/VersionLimitAspect.java b/fanli/src/main/java/com/yeshi/fanli/aspect/VersionLimitAspect.java index f93e07d..db2c14f 100644 --- a/fanli/src/main/java/com/yeshi/fanli/aspect/VersionLimitAspect.java +++ b/fanli/src/main/java/com/yeshi/fanli/aspect/VersionLimitAspect.java @@ -77,8 +77,8 @@ if (uid != null && NumberUtil.isNumeric(uid)) { UserActiveLog activeLog = userActiveLogService.getUserLatestActiveInfo(Long.parseLong(uid)); if (activeLog != null) { - // 灏忎簬2.0.2鐗堟湰涓嶅鍔犵Н鍒� - if (!VersionUtil.greaterThan_2_0_2("appstore".equalsIgnoreCase(activeLog.getChannel()) ? "ios" : "android", + // 灏忎簬2.1鐗堟湰涓嶅鍔犵孩鍖� + if (!VersionUtil.greaterThan_2_1("appstore".equalsIgnoreCase(activeLog.getChannel()) ? "ios" : "android", activeLog.getVersionCode())) return null; } -- Gitblit v1.8.0