This commit is contained in:
laodaming
2023-09-26 10:54:11 +08:00
parent 5b3e3f047e
commit 916e050585
6 changed files with 181 additions and 77 deletions

View File

@@ -47,6 +47,9 @@ service product {
//获取产品阶梯价格列表
@handler GetPriceByPidHandler
get /api/product/get_price_by_pid(GetPriceByPidReq) returns (response);
//获取产品阶梯价格信息
@handler GetProductStepPriceHandler
get /api/product/get_product_step_price(GetProductStepPriceReq) returns (response);
//获取产品尺寸列表
@handler GetSizeByPidHandler
get /api/product/get_size_by_pid(GetSizeByPidReq) returns (response);
@@ -376,6 +379,10 @@ type PriceItem {
TotalNum int64 `json:"total_num"`
Price int64 `json:"price"`
}
//获取产品阶梯价格信息
type GetProductStepPriceReq {
ProductId int64 `form:"product_id"`
}
//获取产品尺寸列表
type GetSizeByPidReq {
Pid string `form:"pid"`