fix
This commit is contained in:
@@ -50,6 +50,9 @@ service product {
|
||||
//获取产品阶梯价格列表
|
||||
@handler GetPriceByPidHandler
|
||||
get /api/product/get_price_by_pid(GetPriceByPidReq) returns (response);
|
||||
//获取产品尺寸列表
|
||||
@handler GetSizeByPidHandler
|
||||
get /api/product/get_size_by_pid(GetSizeByPidReq) returns (response);
|
||||
//*********************产品详情分解接口结束***********************
|
||||
}
|
||||
|
||||
@@ -334,4 +337,16 @@ type PriceItem {
|
||||
Num int64 `json:"num"`
|
||||
TotalNum int64 `json:"total_num"`
|
||||
Price int64 `json:"price"`
|
||||
}
|
||||
//获取产品尺寸列表
|
||||
type GetSizeByPidReq {
|
||||
Pid string `form:"pid"`
|
||||
}
|
||||
type GetSizeByPidRsp {
|
||||
Id int64 `json:"id"` //尺寸id
|
||||
Title interface{} `json:"title"`
|
||||
Capacity string `json:"capacity"` //容量、尺寸、尺码描述
|
||||
Cover string `json:"cover"` //缩略图
|
||||
PartsCanDeleted bool `json:"parts_can_deleted"` //用户可否删除配件
|
||||
ModelId int64 `json:"model_id"` //产品主模型id
|
||||
}
|
||||
Reference in New Issue
Block a user