From bf6ca2b873f4d3c71d2810fad2683b03ae5efe4a Mon Sep 17 00:00:00 2001 From: yj <Administrator@192> Date: 星期五, 06 三月 2020 13:12:07 +0800 Subject: [PATCH] 发圈 --- fanli/src/main/java/com/yeshi/fanli/service/impl/dynamic/GoodsEvaluateServiceImpl.java | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/service/impl/dynamic/GoodsEvaluateServiceImpl.java b/fanli/src/main/java/com/yeshi/fanli/service/impl/dynamic/GoodsEvaluateServiceImpl.java index 2855b15..f566dfb 100644 --- a/fanli/src/main/java/com/yeshi/fanli/service/impl/dynamic/GoodsEvaluateServiceImpl.java +++ b/fanli/src/main/java/com/yeshi/fanli/service/impl/dynamic/GoodsEvaluateServiceImpl.java @@ -234,7 +234,7 @@ } @Override - public void saveSingleGoods(String pid, Long goodsId, Integer goodsType, String videoUrl, Integer picNum, + public String saveSingleGoods(String pid, Long goodsId, Integer goodsType, String videoUrl, Integer picNum, String picUrls, MultipartHttpServletRequest fileRequest) throws GoodsEvaluateException, Exception { if (StringUtil.isNullOrEmpty(pid)) { throw new GoodsEvaluateException(1, "璇蜂繚瀛樼涓�閮ㄥ垎淇℃伅"); @@ -461,8 +461,8 @@ * = false; } */ + String commentText = ""; if (addComment) { - String commentText = ""; if (goodsType == Constant.SOURCE_TYPE_TAOBAO) { TaoBaoLink taoBaoLink = shareGoodsService.getTaoBaoLinkForShare(1L, goodsId, "0"); String template = configService.get(ConfigKeyEnum.quickShareTBCommentText.getKey()); @@ -512,6 +512,8 @@ } } } + + return commentText; } private String createTokenAndLink(GoodsDetailVO goodsDetailVO) throws Exception { @@ -1229,8 +1231,8 @@ imgInfo0.setUrl(picLink); imgInfo0.setUrlHD(picLink); imgInfo0.setType(ImgEnum.img); - imgVideo.setW(1); - imgVideo.setH(1); + imgInfo0.setW(1); + imgInfo0.setH(1); listImg.add(imgInfo0); continue; } -- Gitblit v1.8.0