yujian
2020-05-09 7e7db2fa55a9a3af46d4fd8ede0dee147f101d64
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_0_5("appstore".equalsIgnoreCase(activeLog.getChannel()) ? "ios" : "android",
                        activeLog.getVersionCode()))
                     return null;
               }