admin
2020-01-01 c8f11c229b87d1652b6da0b15576c166cd51eb8b
fanli/src/main/java/com/yeshi/fanli/controller/client/v1/UserOrderController.java
@@ -187,13 +187,7 @@
      }
      String orderFindUrl = null;
      // 判断是否需要显示订单找回提示
      if (VersionUtil.greaterThan_2_0_2(acceptData.getPlatform(), acceptData.getVersion()))
         if (state ==null && page == 1) {
            if (redisManager.frequencyLimit("orderlist-" + acceptData.getDevice(), 8, 4)) {// 8秒内请求3次触发
               orderFindUrl = configService.get("order_find_notify_url");
            }
         }
      try {
         long count = 0;
@@ -238,6 +232,14 @@
         if (todayMoney == null) {
            todayMoney = new BigDecimal(0.00);
         }
         // 判断是否需要显示订单找回提示
         if (VersionUtil.greaterThan_2_0_2(acceptData.getPlatform(), acceptData.getVersion()))
            if (state ==null && page == 1) {
               if (redisManager.frequencyLimit("orderlist-" + acceptData.getDevice(), 8, 4)||count==0L) {// 8秒内请求3次触发
                  orderFindUrl = configService.get("order_find_notify_url");
               }
            }
         JSONObject data = new JSONObject();
         data.put("count", count);