parent
510b6a22ca
commit
69afcd0dfb
|
|
@ -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<>();
|
||||||
//商品规格
|
//商品规格
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue