|
|
|
@ -27,18 +27,17 @@ type ArgsGoodsList struct {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type GoodsItem struct {
|
|
|
|
|
Id uint `json:"id"`
|
|
|
|
|
Name string `json:"name"`
|
|
|
|
|
Img string `json:"img"`
|
|
|
|
|
GoodsNum string `json:"goodsNum"`
|
|
|
|
|
CategoryId uint `json:"categoryId"`
|
|
|
|
|
BrandId uint `json:"brandId"`
|
|
|
|
|
BrandName string `json:"brandName"`
|
|
|
|
|
GoodsSpecs []GoodsSpecificationItem `json:"goodsSpecs"`
|
|
|
|
|
SkuItems []GoodsItemLists `json:"skuItems"`
|
|
|
|
|
StockCount uint `json:"stockCount"`
|
|
|
|
|
MinPrice decimal.Decimal `json:"minPrice"`
|
|
|
|
|
CreatedAt int64 `json:"createdAt"`
|
|
|
|
|
Id uint `json:"id"`
|
|
|
|
|
Name string `json:"name"`
|
|
|
|
|
Img string `json:"img"`
|
|
|
|
|
GoodsNum string `json:"goodsNum"`
|
|
|
|
|
CategoryId uint `json:"categoryId"`
|
|
|
|
|
BrandId uint `json:"brandId"`
|
|
|
|
|
BrandName string `json:"brandName"`
|
|
|
|
|
SkuItems []GoodsItemLists `json:"skuItems"`
|
|
|
|
|
StockCount uint `json:"stockCount"`
|
|
|
|
|
MinPrice decimal.Decimal `json:"minPrice"`
|
|
|
|
|
CreatedAt int64 `json:"createdAt"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type GoodsItemLists struct {
|
|
|
|
|