This commit is contained in:
laodaming
2023-07-17 17:08:45 +08:00
parent eedce6c2d7
commit e1bc5fbe51
6 changed files with 276 additions and 1 deletions

View File

@@ -62,6 +62,9 @@ service product {
//获取产品灯光数据
@handler GetLightByPidHandler
get /api/product/get_light_by_pid(GetLightByPidReq) returns (response);
//获取产品渲染设置
@handler GetRenderSettingByPidHandler
get /api/product/get_render_setting_by_pid(GetRenderSettingByPidReq) returns (response);
//*********************产品详情分解接口结束***********************
}
@@ -378,4 +381,22 @@ type GetFittingByPidRsp {
//获取产品灯光数据
type GetLightByPidReq {
Pid string `form:"pid"`
}
//获取产品渲染设置
type GetRenderSettingByPidReq {
Pid string `form:"pid"`
ClientNo string `form:"client_no,optional"`
}
type GetRenderSettingByPidRsp {
Id int64 `json:"id"` //产品id
Type int64 `json:"type"` //产品typeid
Title string `json:"title"` //产品名称
IsEnv int64 `json:"isEnv"` //产品标签之一
IsMicro int64 `json:"isMicro"` //产品标签之一
TypeName string `json:"typeName"` //产品类型名称
IsLowRendering bool `json:"is_low_rendering"` //低质量画质渲染开关
IsRemoveBg bool `json:"is_remove_bg"` //logo上传是否去背景
RenderDesign bool `json:"render_design"` //是否拥有云渲染设计方案
LastDesign bool `json:"last_lesign"` //是否拥有千人千面设计方案
Colors interface{} `json:"colors"`
}