|
|
@ -78,36 +78,23 @@ type ArgsGoodsInfo struct {
|
|
|
|
SkuId uint
|
|
|
|
SkuId uint
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
//type ReplyGoodsInfo struct {
|
|
|
|
|
|
|
|
// Id uint
|
|
|
|
|
|
|
|
// Name string
|
|
|
|
|
|
|
|
// GoodsNum string
|
|
|
|
|
|
|
|
// BrandId uint
|
|
|
|
|
|
|
|
// BrandName string
|
|
|
|
|
|
|
|
// CategoryId uint
|
|
|
|
|
|
|
|
//}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
type ReplyGoodsInfo struct {
|
|
|
|
type ReplyGoodsInfo struct {
|
|
|
|
Id uint `json:"id"`
|
|
|
|
Id uint `json:"id"`
|
|
|
|
Name string `json:"name"`
|
|
|
|
Name string `json:"name"`
|
|
|
|
SupplierId uint `json:"supplierId"`
|
|
|
|
SupplierId uint `json:"supplierId"`
|
|
|
|
CategoryId uint `json:"categoryId"`
|
|
|
|
CategoryId uint `json:"categoryId"`
|
|
|
|
BrandId uint `json:"brandId"`
|
|
|
|
BrandId uint `json:"brandId"`
|
|
|
|
Imgs []string `json:"imgs"`
|
|
|
|
Imgs []string `json:"imgs"`
|
|
|
|
Content string `json:"content"`
|
|
|
|
Content string `json:"content"`
|
|
|
|
Attributes []GoodsAttributeGroup `json:"attributes"`
|
|
|
|
Attributes []GoodsAttributeItem `json:"attributes"`
|
|
|
|
Skus []SkuItem `json:"skus"`
|
|
|
|
Skus []SkuItem `json:"skus"`
|
|
|
|
Status uint `json:"status"`
|
|
|
|
Status uint `json:"status"`
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
type GoodsAttributeGroup struct {
|
|
|
|
|
|
|
|
Name string `json:"name"`
|
|
|
|
|
|
|
|
Item []GoodsAttributeItem `json:"item"`
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
type GoodsAttributeItem struct {
|
|
|
|
type GoodsAttributeItem struct {
|
|
|
|
Name string `json:"name"`
|
|
|
|
Name string `json:"name"`
|
|
|
|
Value string `json:"value"`
|
|
|
|
Value string `json:"value"`
|
|
|
|
|
|
|
|
GroupName string `json:"groupName"`
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
type SkuSpecItem struct {
|
|
|
|
type SkuSpecItem struct {
|
|
|
|