前端:商品列表

This commit is contained in:
YunaiV
2019-03-16 20:31:13 +08:00
parent a901dd5dff
commit 45b2497c80
6 changed files with 147 additions and 176 deletions

View File

@@ -22,6 +22,8 @@ public class AdminsProductSpuVO {
private Integer cid;
@ApiModelProperty(value = "商品主图地址的数组", required = true, example = "http://www.iocoder.cn")
private List<String> picUrls;
@ApiModelProperty(value = "库存数量", required = true, example = "10")
private Integer quantity;
// ========== 其他信息 =========
@ApiModelProperty(value = "是否上架商品(是否可见)", required = true, example = "true")
@@ -101,4 +103,13 @@ public class AdminsProductSpuVO {
return this;
}
public Integer getQuantity() {
return quantity;
}
public AdminsProductSpuVO setQuantity(Integer quantity) {
this.quantity = quantity;
return this;
}
}