yujian
2020-04-02 0ec22dcf4fd9c4496e6f681e7fab89f56c6e4e8a
fanli/src/main/java/com/yeshi/fanli/service/inter/dynamic/GoodsEvaluateService.java
@@ -5,10 +5,13 @@
import org.springframework.web.multipart.MultipartFile;
import org.springframework.web.multipart.MultipartHttpServletRequest;
import com.yeshi.fanli.dto.pdd.PDDGoodsDetail;
import com.yeshi.fanli.entity.dynamic.CommentInfo;
import com.yeshi.fanli.entity.dynamic.DynamicInfo;
import com.yeshi.fanli.entity.dynamic.GoodsEvaluate;
import com.yeshi.fanli.entity.dynamic.ImgInfo;
import com.yeshi.fanli.entity.jd.JDGoods;
import com.yeshi.fanli.entity.taobao.TaoBaoGoodsBrief;
import com.yeshi.fanli.exception.dynamic.GoodsEvaluateException;
public interface GoodsEvaluateService {
@@ -75,7 +78,7 @@
    * @throws GoodsEvaluateException
    * @throws Exception
    */
   public void saveSingleGoods(String pid, Long goodsId, Integer goodsType, String videoUrl, Integer picNum, String picUrls,
   public String saveSingleGoods(String pid, Long goodsId, Integer goodsType, String videoUrl, Integer picNum, String picUrls,
         MultipartHttpServletRequest fileRequest) throws GoodsEvaluateException, Exception;
   /**
@@ -85,7 +88,7 @@
    * @throws GoodsEvaluateException
    * @throws Exception
    */
   public void saveSingleGoodsCoupon(String pid, CommentInfo commentInfo) throws GoodsEvaluateException, Exception;
   public void saveCurrencyCoupon(String pid, int kind, CommentInfo commentInfo) throws GoodsEvaluateException, Exception;
   public void saveActivityPic(String pid, ImgInfo imgInfo, MultipartHttpServletRequest fileRequest)
@@ -135,7 +138,35 @@
   public void release(String id) throws GoodsEvaluateException;
   public void addGoodsEvaluateByDynamicInfo(DynamicInfo info);
   public void saveGoodsComment(String id, int kind, List<CommentInfo> comments) throws GoodsEvaluateException, Exception;
   /**
    * 自动生成数据
    */
   public void addGoodsEvaluateByDaTaoKe();
   public void updateTaoBaoGoods(TaoBaoGoodsBrief goods);
   public void updateJDGoods(JDGoods jdGoods);
   public void updatePDDGoods(PDDGoodsDetail pddGoods);
   public void addRanDomShareCount();
   /**
    *  添加发圈内容
    * @param goodsId 商品id  必传
    * @param cid 大淘客分类id  必传
    * @param title 标题    必传
    * @param comment
    */
   public void addGoodsEvaluate(Long goodsId, Integer cid, String title, String comment) throws GoodsEvaluateException;
}