From 2f2860b50f24e5e3598d223db03d43df61d95c97 Mon Sep 17 00:00:00 2001 From: yj <Administrator@192> Date: 星期五, 13 三月 2020 16:31:30 +0800 Subject: [PATCH] Merge branch 'div' of ssh://193.112.35.168:29418/fanli-server into div --- fanli/src/main/java/com/yeshi/fanli/service/inter/dynamic/GoodsEvaluateService.java | 32 ++++++++++++++++++++++++++++---- 1 files changed, 28 insertions(+), 4 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/service/inter/dynamic/GoodsEvaluateService.java b/fanli/src/main/java/com/yeshi/fanli/service/inter/dynamic/GoodsEvaluateService.java index 803f9e6..4dfa30b 100644 --- a/fanli/src/main/java/com/yeshi/fanli/service/inter/dynamic/GoodsEvaluateService.java +++ b/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) @@ -124,12 +127,12 @@ * @param count * @return */ - public List<GoodsEvaluate> queryMaterialsCache(int start, int count,int type); + public List<GoodsEvaluate> queryMaterialsCache(int start, int count,int type) throws Exception; public long countValidMaterials(int type); - public void saveGoodsCoupon(String pid, String tags, String content) throws GoodsEvaluateException, Exception; + public void saveGoodsCoupon(String pid, String content) throws GoodsEvaluateException, Exception; public void release(String id) throws GoodsEvaluateException; @@ -138,4 +141,25 @@ 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(); + + } -- Gitblit v1.8.0