This commit is contained in:
laodaming
2023-07-17 14:40:24 +08:00
parent fffdf448c4
commit 73ce1e6db3
8 changed files with 258 additions and 6 deletions

View File

@@ -53,6 +53,9 @@ service product {
//获取产品尺寸列表
@handler GetSizeByPidHandler
get /api/product/get_size_by_pid(GetSizeByPidReq) returns (response);
//获取产品模板列表
@handler GetTemplateByPidHandler
get /api/product/get_template_by_pid(GetTemplateByPidReq) returns (response);
//*********************产品详情分解接口结束***********************
}
@@ -349,4 +352,9 @@ type GetSizeByPidRsp {
Cover string `json:"cover"` //缩略图
PartsCanDeleted bool `json:"parts_can_deleted"` //用户可否删除配件
ModelId int64 `json:"model_id"` //产品主模型id
}
//获取产品模板列表
type GetTemplateByPidReq {
Pid string `form:"pid"`
Size uint32 `form:"size"`
}