This commit is contained in:
laodaming 2023-09-20 16:47:59 +08:00
parent be80525878
commit e1364838da
2 changed files with 6 additions and 6 deletions

View File

@ -21,9 +21,9 @@ type GetProductTemplateTagsRsp struct {
}
type GetTemplateTagColorReq struct {
Logo string `json:"logo"`
TemplateTag string `json:"template_tag"`
SelectedColorIndex int `json:"selected_color_index"`
Logo string `form:"logo"`
TemplateTag string `form:"template_tag"`
SelectedColorIndex int `form:"selected_color_index"`
}
type GetTemplateTagColorRsp struct {

View File

@ -34,9 +34,9 @@ type GetProductTemplateTagsRsp {
}
//根据模板标签跟logo还有选择颜色的索引获取颜色
type GetTemplateTagColorReq {
Logo string `json:"logo"`
TemplateTag string `json:"template_tag"`
SelectedColorIndex int `json:"selected_color_index"`
Logo string `form:"logo"`
TemplateTag string `form:"template_tag"`
SelectedColorIndex int `form:"selected_color_index"`
}
type GetTemplateTagColorRsp {
Colors [][]string `json:"colors"`