更新永辉商品接口更改

This commit is contained in:
苏尹岚
2019-11-20 19:27:24 +08:00
parent 21fe1e55dc
commit 810e8dd646

View File

@@ -181,7 +181,7 @@ type CategoryList struct {
} }
type ChildrenClassify struct { type ChildrenClassify struct {
ChildrenClassify interface{} `json:"childrenClassify"` ChildrenClassify interface{} `json:"childrenClassify"`
ClassifyID int `json:"classifyId"` ClassifyID int64 `json:"classifyId"`
GoodsNum interface{} `json:"goodsNum"` GoodsNum interface{} `json:"goodsNum"`
ImageURL interface{} `json:"imageUrl"` ImageURL interface{} `json:"imageUrl"`
IsHot interface{} `json:"isHot"` IsHot interface{} `json:"isHot"`
@@ -191,7 +191,7 @@ type ChildrenClassify struct {
} }
type SelectedClassifyList struct { type SelectedClassifyList struct {
ChildrenClassify []ChildrenClassify `json:"childrenClassify"` ChildrenClassify []ChildrenClassify `json:"childrenClassify"`
ClassifyID int `json:"classifyId"` ClassifyID int64 `json:"classifyId"`
GoodsNum interface{} `json:"goodsNum"` GoodsNum interface{} `json:"goodsNum"`
ImageURL interface{} `json:"imageUrl"` ImageURL interface{} `json:"imageUrl"`
IsHot int `json:"isHot"` IsHot int `json:"isHot"`
@@ -315,7 +315,7 @@ type Goods struct {
SelectedGoodsAttrList []SelectedGoodsAttrList `json:"selectedGoodsAttrList,omitempty"` SelectedGoodsAttrList []SelectedGoodsAttrList `json:"selectedGoodsAttrList,omitempty"`
SelectedSaleAttrList []SelectedSaleAttrList `json:"selectedSaleAttrList,omitempty"` SelectedSaleAttrList []SelectedSaleAttrList `json:"selectedSaleAttrList,omitempty"`
GoodsImageURL []string `json:"goodsImageUrl"` GoodsImageURL []string `json:"goodsImageUrl"`
SelectedClassifyIDList []int `json:"selectedClassifyIdList,omitempty"` SelectedClassifyIDList []int64 `json:"selectedClassifyIdList,omitempty"`
GoodsID int64 `json:"goodsId"` GoodsID int64 `json:"goodsId"`
OuterGoodsCode string `json:"outerGoodsCode"` OuterGoodsCode string `json:"outerGoodsCode"`
PointDeductRatio int `json:"pointDeductRatio"` PointDeductRatio int `json:"pointDeductRatio"`