yujian
2019-05-14 bbe1a381f99d957d003f48b68dfd5bf0e401f5f0
fanli/src/main/java/com/yeshi/fanli/controller/client/RecommendController.java
@@ -1602,6 +1602,8 @@
         if ("ios".equalsIgnoreCase(platform)) {
            root.put("htmlLink", configService.get("index_html_link_ios"));
         }
         root.put("spikeGoods",  getSpikeGoodsContent(acceptData));
         out.print(JsonUtil.loadTrueResult(root));
      } catch (Exception e) {
@@ -1648,15 +1650,7 @@
      return swiperList;
   }
   /**
    * 限时秒杀 1.5.3
    *
    * @param acceptData
    * @param out
    */
   @RequestMapping(value = "getSpikeGoods")
   public void getSpikeGoods(AcceptData acceptData, PrintWriter out) {
   private JSONObject getSpikeGoodsContent(AcceptData acceptData) {
      // 下一次倒计时的时间
      int type = qualityFlashSaleService.getNowType() + 1;
      int hour = 0;
@@ -1737,6 +1731,19 @@
      JSONObject root = new JSONObject();
      root.put("time", nextTime.getTimeInMillis());
      root.put("listgoods", array);
      return root;
   }
   /**
    * 限时秒杀 1.5.3
    *
    * @param acceptData
    * @param out
    */
   @RequestMapping(value = "getSpikeGoods")
   public void getSpikeGoods(AcceptData acceptData, PrintWriter out) {
      JSONObject root = getSpikeGoodsContent(acceptData);
      out.print(JsonUtil.loadTrueResult(root));
   }