yujian
2019-11-07 3f76ec837b343e5a8538f2ce50010714d16cdeef
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 == 0 && page == 1) {
            if (redisManager.frequencyLimit("orderlist-" + acceptData.getDevice(), 15, 3)) {// 15秒内请求3次触发
               // TODO 显示订单找回提醒
         if (state ==null && page == 1) {
            if (redisManager.frequencyLimit("orderlist-" + acceptData.getDevice(), 8, 4)) {// 8秒内请求3次触发
               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()));