yujian
2020-05-14 e33f868ce527b080b470ec89bee0f33e25dea960
fanli/src/main/java/com/yeshi/fanli/service/impl/dynamic/GoodsEvaluateServiceImpl.java
@@ -265,7 +265,8 @@
         ImgInfo info = new ImgInfo();
         int width = sourceImg.getWidth();
         int height = sourceImg.getHeight();
         String picLink = COSManager.getInstance().uploadFile(inputStream, filePath).getUrl();
         String picLink = COSManager.getInstance().uploadFile(file.getInputStream(), filePath).getUrl();
         
         info.setH(height);
         info.setW(width);
@@ -1160,6 +1161,11 @@
         } else {
            lineNum = 3;
         }
      }
      // 一张图显示为大图
      if (tempList.size() == 1) {
         tempList.get(0).setLarge(true);
      }
      
      if (tempList.size() > 0) {
@@ -2449,6 +2455,9 @@
    * 删除已过期时间
    */
   private void removeOverdue() {
      if(1>0)
         return;
      List<GoodsEvaluate> list = goodsEvaluateDao.queryOverdue();
      if (list == null || list.size() == 0) {
         return;
@@ -2473,6 +2482,8 @@
    * 删除商品已下架-单品
    */
   private void removeDownGoods() {
      if(1>0)
         return;
      try {
         List<GoodsEvaluate> list = goodsEvaluateDao.removeDownGoods();
         if (list == null || list.size() == 0) {