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)
|
||||||
}
|
}
|
||||||
|
|
|
@ -274,11 +274,16 @@ type TagProduct struct {
|
||||||
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 {
|
||||||
Sn string `form:"sn"`
|
Sn string `form:"sn"`
|
||||||
}
|
}
|
||||||
|
|
|
@ -323,10 +323,15 @@ type TagProduct {
|
||||||
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 {
|
||||||
|
Tag string `json:"tag"`
|
||||||
|
Cover string `json:"cover"`
|
||||||
|
}
|
||||||
//获取云渲染设计方案信息
|
//获取云渲染设计方案信息
|
||||||
type GetRenderDesignReq {
|
type GetRenderDesignReq {
|
||||||
Sn string `form:"sn"`
|
Sn string `form:"sn"`
|
||||||
|
|
Loading…
Reference in New Issue
Block a user