fix
This commit is contained in:
parent
93191d3beb
commit
9e5b08b9eb
|
@ -363,7 +363,7 @@ func (l *GetTagProductListLogic) getTagProducts(req getTagProductsReq) (productL
|
||||||
}
|
}
|
||||||
image.ThousandFaceImageFormat(&r)
|
image.ThousandFaceImageFormat(&r)
|
||||||
item.Cover = r.Cover
|
item.Cover = r.Cover
|
||||||
item.CoverDefault = r.CoverDefault
|
item.CoverDefault = nil
|
||||||
//加入分类产品切片
|
//加入分类产品切片
|
||||||
productListRsp = append(productListRsp, item)
|
productListRsp = append(productListRsp, item)
|
||||||
}
|
}
|
||||||
|
|
|
@ -268,15 +268,20 @@ type TagItem struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
type TagProduct struct {
|
type TagProduct struct {
|
||||||
ProductId int64 `json:"product_id"`
|
ProductId int64 `json:"product_id"`
|
||||||
Sn string `json:"sn"`
|
Sn string `json:"sn"`
|
||||||
Title string `json:"title"`
|
Title string `json:"title"`
|
||||||
Cover string `json:"cover"`
|
Cover string `json:"cover"`
|
||||||
SizeNum uint32 `json:"size_num"`
|
SizeNum uint32 `json:"size_num"`
|
||||||
MinPrice int64 `json:"min_price"`
|
MinPrice int64 `json:"min_price"`
|
||||||
CoverDefault string `json:"cover_default"`
|
CoverDefault []CoverDefaultItem `json:"cover_default"`
|
||||||
HaveOptionalFitting bool `json:"have_optional_fitting"`
|
HaveOptionalFitting bool `json:"have_optional_fitting"`
|
||||||
Recommended bool `json:"recommended"`
|
Recommended bool `json:"recommended"`
|
||||||
|
}
|
||||||
|
|
||||||
|
type CoverDefaultItem struct {
|
||||||
|
Tag string `json:"tag"`
|
||||||
|
Cover string `json:"cover"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type GetRenderDesignReq struct {
|
type GetRenderDesignReq struct {
|
||||||
|
|
|
@ -317,15 +317,20 @@ type TagItem {
|
||||||
ChildTagList []*TagItem `json:"child_tag_list"`
|
ChildTagList []*TagItem `json:"child_tag_list"`
|
||||||
}
|
}
|
||||||
type TagProduct {
|
type TagProduct {
|
||||||
ProductId int64 `json:"product_id"`
|
ProductId int64 `json:"product_id"`
|
||||||
Sn string `json:"sn"`
|
Sn string `json:"sn"`
|
||||||
Title string `json:"title"`
|
Title string `json:"title"`
|
||||||
Cover string `json:"cover"`
|
Cover string `json:"cover"`
|
||||||
SizeNum uint32 `json:"size_num"`
|
SizeNum uint32 `json:"size_num"`
|
||||||
MinPrice int64 `json:"min_price"`
|
MinPrice int64 `json:"min_price"`
|
||||||
CoverDefault string `json:"cover_default"`
|
//彩膜列表
|
||||||
HaveOptionalFitting bool `json:"have_optional_fitting"`
|
CoverDefault []CoverDefaultItem `json:"cover_default"`
|
||||||
Recommended bool `json:"recommended"`
|
HaveOptionalFitting bool `json:"have_optional_fitting"`
|
||||||
|
Recommended bool `json:"recommended"`
|
||||||
|
}
|
||||||
|
type CoverDefaultItem {
|
||||||
|
Tag string `json:"tag"`
|
||||||
|
Cover string `json:"cover"`
|
||||||
}
|
}
|
||||||
//获取云渲染设计方案信息
|
//获取云渲染设计方案信息
|
||||||
type GetRenderDesignReq {
|
type GetRenderDesignReq {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user