fix
This commit is contained in:
@@ -56,6 +56,9 @@ service product {
|
||||
//获取产品模板列表
|
||||
@handler GetTemplateByPidHandler
|
||||
get /api/product/get_template_by_pid(GetTemplateByPidReq) returns (response);
|
||||
//获取产品配件数据
|
||||
@handler GetFittingByPidHandler
|
||||
get /api/product/get_fitting_by_pid(GetFittingByPidReq) returns (response);
|
||||
//*********************产品详情分解接口结束***********************
|
||||
}
|
||||
|
||||
@@ -357,4 +360,15 @@ type GetSizeByPidRsp {
|
||||
type GetTemplateByPidReq {
|
||||
Pid string `form:"pid"`
|
||||
Size uint32 `form:"size"`
|
||||
}
|
||||
//获取产品配件数据
|
||||
type GetFittingByPidReq {
|
||||
Pid string `form:"pid"`
|
||||
}
|
||||
type GetFittingByPidRsp {
|
||||
Id int64 `json:"id"`
|
||||
MaterialImg string `json:"material_img"`
|
||||
Title string `json:"title"`
|
||||
Price int64 `json:"price"`
|
||||
ModelInfo interface{} `json:"model_info"`
|
||||
}
|
||||
Reference in New Issue
Block a user