fix
This commit is contained in:
parent
c45028b914
commit
2af55fb898
|
@ -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,
|
||||||
|
|
|
@ -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"`
|
||||||
|
|
|
@ -110,7 +110,7 @@ type GetProductDesignReq {
|
||||||
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"`
|
||||||
|
|
Loading…
Reference in New Issue
Block a user