添加商品新增视频字段
This commit is contained in:
parent
1ee60c02d3
commit
3acdb7733e
@ -222,6 +222,7 @@ public class Goods extends BaseEntity {
|
|||||||
this.intro = goodsOperationDTO.getIntro();
|
this.intro = goodsOperationDTO.getIntro();
|
||||||
this.mobileIntro = goodsOperationDTO.getMobileIntro();
|
this.mobileIntro = goodsOperationDTO.getMobileIntro();
|
||||||
this.cost = goodsOperationDTO.getCost();
|
this.cost = goodsOperationDTO.getCost();
|
||||||
|
this.goodsVideo = goodsOperationDTO.getGoodsVideo();
|
||||||
if (goodsOperationDTO.getGoodsParamsDTOList() != null && goodsOperationDTO.getGoodsParamsDTOList().isEmpty()) {
|
if (goodsOperationDTO.getGoodsParamsDTOList() != null && goodsOperationDTO.getGoodsParamsDTOList().isEmpty()) {
|
||||||
this.params = JSONUtil.toJsonStr(goodsOperationDTO.getGoodsParamsDTOList());
|
this.params = JSONUtil.toJsonStr(goodsOperationDTO.getGoodsParamsDTOList());
|
||||||
}
|
}
|
||||||
|
@ -120,6 +120,12 @@ public class GoodsOperationDTO implements Serializable {
|
|||||||
@ApiModelProperty(value = "商品类型")
|
@ApiModelProperty(value = "商品类型")
|
||||||
private String goodsType;
|
private String goodsType;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 商品视频
|
||||||
|
*/
|
||||||
|
@ApiModelProperty(value = "商品视频")
|
||||||
|
private String goodsVideo;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user