fanli/src/main/java/com/yeshi/fanli/controller/client/v1/UserOrderController.java
@@ -186,11 +186,12 @@ endTime += " 23:59:59"; } String orderFindUrl = null; // 判断是否需要显示订单找回提示 if (VersionUtil.greaterThan_2_0_2(acceptData.getPlatform(), acceptData.getVersion())) if (state != null && state == 0 && page == 1) { if (state ==null && page == 1) { if (redisManager.frequencyLimit("orderlist-" + acceptData.getDevice(), 15, 3)) {// 15秒内请求3次触发 // TODO 显示订单找回提醒 orderFindUrl = configService.get("order_find_notify_url"); } } @@ -255,6 +256,8 @@ data.put("totalValid", totalValid); // 有效数量 data.put("totalProces", totalProces); // 维权数量 data.put("totalInvite", totalInvite); // 失效数量 if (orderFindUrl != null) data.put("findOrderHelpUrl", orderFindUrl); out.print(JsonUtil.loadTrueResult(data)); } catch (CommonOrderException e) { out.print(JsonUtil.loadFalseResult(e.getCode(), e.getMsg())); fanli/src/main/java/com/yeshi/fanli/service/impl/user/UserAccountServiceImpl.java
@@ -223,6 +223,8 @@ updateUserInfo.setLastLoginTime(System.currentTimeMillis()); updateUserInfo.setLoginType(loginType); updateUserInfo.setLastLoginIp(request.getRemoteHost()); //更新openId updateUserInfo.setOpenid(weiXinUser.getOpenid()); userInfoMapper.updateByPrimaryKeySelective(updateUserInfo); // 删除邀请图片 fanli/src/main/java/com/yeshi/fanli/util/VersionUtil.java
@@ -72,7 +72,7 @@ public static boolean greaterThan_2_0_2(String platform, String versionCode) { if ((("android".equalsIgnoreCase(platform) && Integer.parseInt(versionCode) >= 51)) || (("ios".equalsIgnoreCase(platform) && Integer.parseInt(versionCode) >= 68))) || (("ios".equalsIgnoreCase(platform) && Integer.parseInt(versionCode) >= 70))) return true; else return false;