From 90275a865c3b664112a2848c4885daa13d03f7dc Mon Sep 17 00:00:00 2001 From: laodaming <11058467+laudamine@user.noreply.gitee.com> Date: Wed, 25 Oct 2023 13:12:00 +0800 Subject: [PATCH] fix --- server/product/internal/types/types.go | 2 +- server_api/product.api | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/server/product/internal/types/types.go b/server/product/internal/types/types.go index 90a91ea4..ff998d33 100644 --- a/server/product/internal/types/types.go +++ b/server/product/internal/types/types.go @@ -171,7 +171,7 @@ type GetProductDetailReq struct { ProductId int64 `form:"product_id"` //产品id TemplateTag string `form:"template_tag"` //模板标签 SelectedColorIndex int `form:"selected_color_index"` //模板标签颜色索引 - Logo string `form:"logo"` //logo地址 + Logo string `form:"logo,optional"` //logo地址 } type GetProductDetailRsp struct { diff --git a/server_api/product.api b/server_api/product.api index f3ce9606..899f8b21 100644 --- a/server_api/product.api +++ b/server_api/product.api @@ -207,7 +207,7 @@ type GetProductDetailReq { ProductId int64 `form:"product_id"` //产品id TemplateTag string `form:"template_tag"` //模板标签 SelectedColorIndex int `form:"selected_color_index"` //模板标签颜色索引 - Logo string `form:"logo,optional"` //logo地址 + Logo string `form:"logo,optional"` //logo地址 } type GetProductDetailRsp { Logo string `json:"logo"` //logo