fix
This commit is contained in:
@@ -28,6 +28,9 @@ service product {
|
||||
//获取产品详情
|
||||
@handler GetProductDetailHandler
|
||||
get /api/product/get_product_detail(GetProductDetailReq) returns (response);
|
||||
//根据产品获取模型配件列表
|
||||
@handler GetProductModelsHandler
|
||||
get /api/product/get_product_models(GetProductModelsReq) returns (response);
|
||||
}
|
||||
|
||||
//获取详情页推荐产品列表
|
||||
@@ -185,4 +188,19 @@ type TemplateTagColorInfo {
|
||||
Colors [][]string `json:"colors"` //传入logo对应的算法颜色组
|
||||
SelectedColorIndex int `json:"selected_color_index"` //选择的模板标签的颜色索引值
|
||||
TemplateTagGroups interface{} `json:"template_tag_groups"` //模板标签分组信息
|
||||
}
|
||||
//根据产品获取模型配件列表
|
||||
type GetProductModelsReq {
|
||||
ProductIds string `form:"product_ids"`
|
||||
}
|
||||
type ProductItem {
|
||||
ModelList []ModelItem `json:"model_list"`
|
||||
}
|
||||
type ModelItem {
|
||||
Id int64 `json:"id"`
|
||||
Type int64 `json:"type"` //1模型 2配件 3场景
|
||||
Title string `json:"title"`
|
||||
Name string `json:"name"`
|
||||
DesignInfo interface{} `json:"design_info"`
|
||||
LightInfo interface{} `json:"light_info"`
|
||||
}
|
||||
Reference in New Issue
Block a user