yujian
2019-01-26 86781a876c05b7dff591d4371dc0c2afef5d065a
fanli/src/main/java/com/yeshi/fanli/controller/h5/H5RecommendController.java
@@ -12,6 +12,7 @@
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.yeshi.utils.JsonUtil;
import org.yeshi.utils.taobao.TbImgUtil;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
@@ -373,7 +374,7 @@
      data.put("title", goods.getTitle());
      if (goods.getImgList() == null)
         goods.setImgList(new ArrayList<>());
      goods.getImgList().add(0, goods.getPictUrl());
      goods.getImgList().add(0, TbImgUtil.getTBSizeImg(goods.getPictUrl(), 300));
      data.put("imgs", goods.getImgList());
      data.put("quanPrice", afterCouponPrice);
      data.put("zkPrice", goods.getZkPrice());