|
|
@ -78,15 +78,6 @@ 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"`
|
|
|
@ -95,19 +86,15 @@ type ReplyGoodsInfo struct {
|
|
|
|
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 {
|
|
|
|