This commit is contained in:
laodaming
2023-07-17 10:54:37 +08:00
parent 46430a1ce6
commit 46418f2338
3 changed files with 59 additions and 20 deletions

View File

@@ -324,4 +324,14 @@ type GetModelByPidReq {
//获取产品阶梯价格
type GetPriceByPidReq {
Pid string `form:"pid"`
}
type GetPriceByPidRsp {
Items []PriceItem `json:"items"`
MinPrice float64 `json:"min_price"`
MaxPrice float64 `json:"max_price"`
}
type PriceItem {
Num int64 `json:"num"`
TotalNum int64 `json:"total_num"`
Price int64 `json:"price"`
}