11
This commit is contained in:
@@ -13,6 +13,9 @@ service product-template-tag {
|
||||
//获取产品模板标签列表
|
||||
@handler GetProductTemplateTagsHandler
|
||||
get /api/product-template-tag/get_product_template_tags(GetProductTemplateTagsReq) returns (response);
|
||||
//根据模板标签跟logo还有选择颜色的索引获取颜色
|
||||
@handler GetTemplateTagColorHandler
|
||||
get /api/product-template-tag/get_template_tag_color(GetTemplateTagColorReq) returns (response);
|
||||
}
|
||||
|
||||
//获取产品模板标签列表
|
||||
@@ -28,4 +31,14 @@ type GetProductTemplateTagsRsp {
|
||||
CoverMetadata interface{} `json:"cover_metadata"`
|
||||
Colors [][]string `json:"colors"`
|
||||
SelectedColorIndex int `json:"selected_color_index"`
|
||||
}
|
||||
//根据模板标签跟logo还有选择颜色的索引获取颜色
|
||||
type GetTemplateTagColorReq {
|
||||
Logo string `json:"logo"`
|
||||
TemplateTag string `json:"template_tag"`
|
||||
SelectedColorIndex int `json:"selected_color_index"`
|
||||
}
|
||||
type GetTemplateTagColorRsp {
|
||||
Colors [][]string `json:"colors"`
|
||||
SelectedColorIndex int `json:"selected_color_index"`
|
||||
}
|
||||
Reference in New Issue
Block a user