fix
This commit is contained in:
parent
5b92c3833b
commit
9f12f7035c
|
@ -180,6 +180,7 @@ func (l *GetProductTemplateTagsLogic) GetProductTemplateTags(req *types.GetProdu
|
|||
CoverMetadata: mapResourceMetadata[*templateTagInfo.Cover],
|
||||
Colors: colors,
|
||||
SelectedColorIndex: SelectedColorIndex,
|
||||
ProductId: 30,
|
||||
})
|
||||
}
|
||||
return resp.SetStatusWithMessage(basic.CodeOK, "success", list)
|
||||
|
|
|
@ -19,6 +19,7 @@ type GetProductTemplateTagsRsp struct {
|
|||
CoverMetadata interface{} `json:"cover_metadata"`
|
||||
Colors [][]string `json:"colors"`
|
||||
SelectedColorIndex int `json:"selected_color_index"`
|
||||
ProductId int64 `json:"product_id"`
|
||||
}
|
||||
|
||||
type GetTemplateTagColorReq struct {
|
||||
|
|
|
@ -32,6 +32,7 @@ type GetProductTemplateTagsRsp {
|
|||
CoverMetadata interface{} `json:"cover_metadata"`
|
||||
Colors [][]string `json:"colors"`
|
||||
SelectedColorIndex int `json:"selected_color_index"`
|
||||
ProductId int64 `json:"product_id"`
|
||||
}
|
||||
//根据模板标签跟logo还有选择颜色的索引获取颜色
|
||||
type GetTemplateTagColorReq {
|
||||
|
|
Loading…
Reference in New Issue
Block a user