Browse Source

Merge remote-tracking branch 'origin/dev_v1' into dev_v1

lyhzzz 3 years ago
parent
commit
417f58c479

+ 0 - 3
platform-shop/src/main/java/com/platform/controller/GoodsController.java

@@ -281,9 +281,6 @@ public class GoodsController extends AbstractController{
         Map<String, Object> params = new HashMap<>();
         Map<String, Object> params = new HashMap<>();
         params.put("goodsId", Integer.valueOf(goodsEntity.getId()));
         params.put("goodsId", Integer.valueOf(goodsEntity.getId()));
         List<GoodsGalleryEntity> list = goodsGalleryService.queryList(params);
         List<GoodsGalleryEntity> list = goodsGalleryService.queryList(params);
-        //获取图片列表
-        imageList.add(goodsEntity.getPrimaryPicUrl());
-
         if(!CollectionUtils.isEmpty(list)){
         if(!CollectionUtils.isEmpty(list)){
             for(GoodsGalleryEntity galleryEntity : list){
             for(GoodsGalleryEntity galleryEntity : list){
                 imageList.add(galleryEntity.getImgUrl());
                 imageList.add(galleryEntity.getImgUrl());