喻健
2018-11-16 41a4f9aa848255b97b4ad2bd76cb2dfa177df609
fanli/src/main/java/com/yeshi/fanli/controller/client/RecommendController.java
@@ -20,7 +20,7 @@
import org.springframework.web.bind.annotation.RequestMethod;
import org.yeshi.utils.IPUtil;
import org.yeshi.utils.JsonUtil;
import org.yeshi.utils.NumberUtil;
import org.yeshi.utils.NumberUtil;
import org.yeshi.utils.taobao.TbImgUtil;
import com.google.gson.Gson;
@@ -197,12 +197,13 @@
   @Resource
   private ShamUserService shamUserService;
   @Resource
   private SpecialService specialService;
   
   @Resource
   private SwiperPictureService swiperPictureService;
   @Resource
   private MonitorService monitorService;
@@ -1578,6 +1579,7 @@
      out.print(JsonUtil.loadTrueResult(root));
   }
   /**
    * 新版推荐专题管理(1.4.0)
    * 
@@ -1686,7 +1688,7 @@
   }
   
   
   /**
    * 商品基本详情 (1.4.0)
    * 
@@ -1881,7 +1883,10 @@
      BigDecimal shareMoney = taoBaoGoodsBriefService.getShareGoodsUserHongBao(tb);
      data.put("shareMoney", "¥" + shareMoney);
      // 分享赚人提示
      List<ShamUser> listShareUser = shamUserService.listRandShareUser(10, shareMoney, 1, 5);
      List<ShamUser> listShareUser = new ArrayList<ShamUser>();
      if (tb.getBiz30day() >= 1000) {
         listShareUser = shamUserService.listRandShareUser(10, shareMoney, 1, 5);
      }
      // 判断收藏
      if (StringUtil.isNullOrEmpty(uid)) {
@@ -1909,7 +1914,7 @@
      goods.put("coupon", StringUtil.isNullOrEmpty(tb.getCouponInfo()) ? false : true);
      // 领券人列表
      List<ShamUser> listCouponUser = null;
      List<ShamUser> listCouponUser = new ArrayList<ShamUser>();
      // 获取券信息
      if (!StringUtil.isNullOrEmpty(tb.getCouponInfo())) {
@@ -1930,8 +1935,10 @@
               + tb.getCouponEffectiveEndTime().replace("-", "."));
         goods.put("couponInfo", couponInfo);
         // 领券人列表
         listCouponUser = shamUserService.listRandCouponUser(5, 1, 300);
         if (tb.getBiz30day() >= 1000) {
            // 领券人列表
            listCouponUser = shamUserService.listRandCouponUser(5, 1, 300);
         }
      }
      data.put("tbPidInfo", clientTBPid);