|
|
@ -25,19 +25,19 @@ type ArgsGoodsList struct {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
type GoodsItem struct {
|
|
|
|
type GoodsItem struct {
|
|
|
|
Id uint `json:"id"`
|
|
|
|
Id uint `json:"id"`
|
|
|
|
Name string `json:"name"`
|
|
|
|
Name string `json:"name"`
|
|
|
|
Img string `json:"img"`
|
|
|
|
Img string `json:"img"`
|
|
|
|
GoodsNum string `json:"goodsNum"`
|
|
|
|
GoodsNum string `json:"goodsNum"`
|
|
|
|
CategoryId uint `json:"categoryId"`
|
|
|
|
CategoryId uint `json:"categoryId"`
|
|
|
|
BrandId uint `json:"brandId"`
|
|
|
|
BrandId uint `json:"brandId"`
|
|
|
|
BrandName string `json:"brandName"`
|
|
|
|
BrandName string `json:"brandName"`
|
|
|
|
SkuItems []GoodsItemLists `json:"skuItems"`
|
|
|
|
SkuItems []GoodsItemLists `json:"skuItems"`
|
|
|
|
UpcCodes []string `json:"upcCodes"`
|
|
|
|
UpcCodes []string `json:"upcCodes"`
|
|
|
|
StockCount uint `json:"stockCount"`
|
|
|
|
StockCount uint `json:"stockCount"`
|
|
|
|
MinPrice decimal.Decimal `json:"minPrice"`
|
|
|
|
GuidePrices []decimal.Decimal `json:"guidePrices"`
|
|
|
|
GuidePrice decimal.Decimal `json:"guidePrice"`
|
|
|
|
SupplyPrices []decimal.Decimal `json:"supplyPrices"`
|
|
|
|
CreatedAt int64 `json:"createdAt"`
|
|
|
|
CreatedAt int64 `json:"createdAt"`
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
type GoodsItemLists struct {
|
|
|
|
type GoodsItemLists struct {
|
|
|
|