From e1364838dad84ab7fd9ee29dceaa7d587b3ecef8 Mon Sep 17 00:00:00 2001 From: laodaming <11058467+laudamine@user.noreply.gitee.com> Date: Wed, 20 Sep 2023 16:47:59 +0800 Subject: [PATCH] 11 --- server/product-template-tag/internal/types/types.go | 6 +++--- server_api/product-template-tag.api | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/server/product-template-tag/internal/types/types.go b/server/product-template-tag/internal/types/types.go index fdc0daa6..f5f6493a 100644 --- a/server/product-template-tag/internal/types/types.go +++ b/server/product-template-tag/internal/types/types.go @@ -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 { diff --git a/server_api/product-template-tag.api b/server_api/product-template-tag.api index 6cd4e703..d074f921 100644 --- a/server_api/product-template-tag.api +++ b/server_api/product-template-tag.api @@ -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"`