商品详情 图片展示

首页排序
This commit is contained in:
wangw 2024-03-15 15:06:17 +08:00
parent 510b6a22ca
commit 69afcd0dfb
2 changed files with 4 additions and 2 deletions

View File

@ -187,7 +187,9 @@ public class TbProductServiceImpl implements TbProductService {
} }
BeanUtils.copyProperties(tbProduct, tbProductVo); BeanUtils.copyProperties(tbProduct, tbProductVo);
if(!org.apache.commons.lang3.StringUtils.isBlank(tbProduct.getImages())){ if(!org.apache.commons.lang3.StringUtils.isBlank(tbProduct.getImages())){
tbProductVo.setImages(ListUtil.stringChangeStringList(tbProduct.getImages())); tbProductVo.setImages(ListUtil.stringChangeList(tbProduct.getImages()));
}else{
tbProductVo.setImages(new JSONArray());
} }
HashMap<String, String> map = new HashMap<>(); HashMap<String, String> map = new HashMap<>();
//商品规格 //商品规格

View File

@ -67,7 +67,7 @@ public class TbProductVo {
private String shareImg; private String shareImg;
private List<String> images=new ArrayList<>(); private JSONArray images;
private String video; private String video;