This commit is contained in:
laodaming
2023-07-17 19:39:35 +08:00
parent e1bc5fbe51
commit 9e7b3267aa
5 changed files with 156 additions and 0 deletions

View File

@@ -65,6 +65,9 @@ service product {
//获取产品渲染设置
@handler GetRenderSettingByPidHandler
get /api/product/get_render_setting_by_pid(GetRenderSettingByPidReq) returns (response);
//获取产品千人千面设计方案
@handler GetThousandFaceDesignByPidHandler
get /api/product/get_thousand_face_design_by_pid(GetThousandFaceDesignByPidReq) returns (response);
//*********************产品详情分解接口结束***********************
}
@@ -399,4 +402,15 @@ type GetRenderSettingByPidRsp {
RenderDesign bool `json:"render_design"` //是否拥有云渲染设计方案
LastDesign bool `json:"last_lesign"` //是否拥有千人千面设计方案
Colors interface{} `json:"colors"`
}
//获取产品千人千面设计方案
type GetThousandFaceDesignByPidReq {
Pid string `form:"pid"`
}
type GetThousandFaceDesignByPidRsp {
Id int64 `json:"id"`
OptionalId int64 `json:"optional_id"`
SizeId int64 `json:"size_id"`
LogoColor []string `json:"logo_color"`
Info interface{} `json:"info"`
}