添加商品新增视频字段

This commit is contained in:
pikachu 2021-07-24 11:47:15 +08:00
parent 1ee60c02d3
commit 3acdb7733e
2 changed files with 7 additions and 0 deletions

View File

@ -222,6 +222,7 @@ public class Goods extends BaseEntity {
this.intro = goodsOperationDTO.getIntro();
this.mobileIntro = goodsOperationDTO.getMobileIntro();
this.cost = goodsOperationDTO.getCost();
this.goodsVideo = goodsOperationDTO.getGoodsVideo();
if (goodsOperationDTO.getGoodsParamsDTOList() != null && goodsOperationDTO.getGoodsParamsDTOList().isEmpty()) {
this.params = JSONUtil.toJsonStr(goodsOperationDTO.getGoodsParamsDTOList());
}

View File

@ -120,6 +120,12 @@ public class GoodsOperationDTO implements Serializable {
@ApiModelProperty(value = "商品类型")
private String goodsType;
/**
* 商品视频
*/
@ApiModelProperty(value = "商品视频")
private String goodsVideo;
}