From c5f54810f60e036317562b1b42cfeafd18e984c5 Mon Sep 17 00:00:00 2001 From: admin <2780501319@qq.com> Date: 星期日, 01 三月 2020 16:39:12 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/div' into div --- fanli/src/main/java/com/yeshi/fanli/service/inter/dynamic/GoodsEvaluateService.java | 10 +++++++--- 1 files changed, 7 insertions(+), 3 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 e76f408..a90e770 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 @@ -6,13 +6,14 @@ import org.springframework.web.multipart.MultipartHttpServletRequest; 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.exception.dynamic.GoodsEvaluateException; public interface GoodsEvaluateService { - public void saveHead(MultipartFile file, GoodsEvaluate record) throws GoodsEvaluateException; + public String saveHead(MultipartFile file, GoodsEvaluate record) throws GoodsEvaluateException; public GoodsEvaluate getById(String id); @@ -123,15 +124,18 @@ * @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; + public void addGoodsEvaluateByDynamicInfo(DynamicInfo info); + + } -- Gitblit v1.8.0