finance
黄伟 2 years ago
parent d6a7b4655c
commit fc08e39304

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

Loading…
Cancel
Save