fix
This commit is contained in:
@@ -50,7 +50,7 @@ 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);
|
||||
//获取产品配件数据
|
||||
@@ -383,11 +383,15 @@ type GetSizeByPidRsp {
|
||||
IsPopular bool `json:"is_popular"` //是否受欢迎
|
||||
MinPrice float64 `json:"min_price"` //最小价格
|
||||
}
|
||||
//获取产品模板列表
|
||||
//获取产品模板
|
||||
type GetTemplateByPidReq {
|
||||
Pid string `form:"pid"`
|
||||
Size uint32 `form:"size"`
|
||||
ProductTemplateTagId int64 `form:"product_template_tag_id"`
|
||||
ProductSizeId int64 `form:"product_size_id,optional"`
|
||||
}
|
||||
type GetTemplateByPidRsp {
|
||||
TemplateId int64 `json:"template_id"` //模板id
|
||||
TemplateInfo interface{} `json:"template_info"` //模板信息
|
||||
}
|
||||
//获取产品配件数据
|
||||
type GetFittingByPidReq {
|
||||
|
||||
Reference in New Issue
Block a user