This commit is contained in:
laodaming 2023-07-05 16:58:16 +08:00
parent c45028b914
commit 2af55fb898
3 changed files with 4 additions and 5 deletions

View File

@ -83,7 +83,7 @@ func (l *GetProductDesignLogic) GetProductDesign(req *types.GetProductDesignReq,
return resp.SetStatusWithMessage(basic.CodeOK, "success", types.GetProductDesignRsp{ return resp.SetStatusWithMessage(basic.CodeOK, "success", types.GetProductDesignRsp{
ProductId: *designInfo.ProductId, ProductId: *designInfo.ProductId,
TemplateId: *designInfo.TemplateId, TemplateId: *designInfo.TemplateId,
MaterialId: *designInfo.MaterialId, //MaterialId: *designInfo.MaterialId,
SizeId: *designInfo.SizeId, SizeId: *designInfo.SizeId,
OptionalId: optionalId, OptionalId: optionalId,
Cover: *designInfo.Cover, Cover: *designInfo.Cover,

View File

@ -88,7 +88,6 @@ type GetProductDesignReq struct {
type GetProductDesignRsp struct { type GetProductDesignRsp struct {
ProductId int64 `json:"product_id"` ProductId int64 `json:"product_id"`
TemplateId int64 `json:"template_id"` TemplateId int64 `json:"template_id"`
MaterialId int64 `json:"material_id"`
SizeId int64 `json:"size_id"` SizeId int64 `json:"size_id"`
OptionalId int64 `json:"optional_id"` OptionalId int64 `json:"optional_id"`
Cover string `json:"cover"` Cover string `json:"cover"`

View File

@ -108,9 +108,9 @@ type GetProductDesignReq {
Sn string `form:"sn"` Sn string `form:"sn"`
} }
type GetProductDesignRsp { type GetProductDesignRsp {
ProductId int64 `json:"product_id"` ProductId int64 `json:"product_id"`
TemplateId int64 `json:"template_id"` TemplateId int64 `json:"template_id"`
MaterialId int64 `json:"material_id"` //MaterialId int64 `json:"material_id"`
SizeId int64 `json:"size_id"` SizeId int64 `json:"size_id"`
OptionalId int64 `json:"optional_id"` OptionalId int64 `json:"optional_id"`
Cover string `json:"cover"` Cover string `json:"cover"`