From ec8a1c6f81b5747e9efce86faaba33d10df7f61d Mon Sep 17 00:00:00 2001 From: admin <2780501319@qq.com> Date: 星期日, 01 三月 2020 16:37:26 +0800 Subject: [PATCH] 动态提示语调整 --- fanli/src/main/java/com/yeshi/fanli/service/inter/dynamic/GoodsEvaluateService.java | 53 ++++++++++++++++++++++++++++++++++++++++++++++++++--- 1 files changed, 50 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 b9d1097..803f9e6 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); @@ -38,9 +39,9 @@ * @param state * @return */ - public List<GoodsEvaluate> query(int start, int count, String key, Integer state); + public List<GoodsEvaluate> query(int start, int count, String key, Integer state, int dynamicType); - public long count(String key, Integer state); + public long count(String key, Integer state,int dynamicType); /** @@ -91,4 +92,50 @@ throws GoodsEvaluateException, Exception; + /** + * 澶氫釜鍟嗗搧淇濆瓨淇℃伅 + * @param pid + * @param videoUrl + * @param goodsList + * @param fileRequest + * @throws GoodsEvaluateException + * @throws Exception + */ + public void saveMultipleGoods(String pid, String videoUrl, String goodsList, MultipartHttpServletRequest fileRequest) + throws GoodsEvaluateException, Exception; + + + /** + * 绱犳潗 + * @param pid + * @param videoUrl + * @param picUrls + * @param fileRequest + * @throws GoodsEvaluateException + * @throws Exception + */ + public void saveSuCai(String pid, String videoUrl, String picUrls, MultipartHttpServletRequest fileRequest) + throws GoodsEvaluateException, Exception; + + + /** + * 鏌ヨ绱犳潗 + * @param start + * @param count + * @return + */ + public List<GoodsEvaluate> queryMaterialsCache(int start, int count,int type); + + public long countValidMaterials(int type); + + + public void saveGoodsCoupon(String pid, String tags, String content) throws GoodsEvaluateException, Exception; + + + public void release(String id) throws GoodsEvaluateException; + + + public void addGoodsEvaluateByDynamicInfo(DynamicInfo info); + + } -- Gitblit v1.8.0