diff --git a/server/product/internal/logic/getpricebypidlogic.go b/server/product/internal/logic/getpricebypidlogic.go index a14d196c..ad1f1689 100644 --- a/server/product/internal/logic/getpricebypidlogic.go +++ b/server/product/internal/logic/getpricebypidlogic.go @@ -78,6 +78,7 @@ func (l *GetPriceByPidLogic) GetPriceByPid(req *types.GetPriceByPidReq, userinfo }) *priceInfo.MinBuyNum++ } + //组装阶梯数量范围价格 stepListRsp := make([]types.StepPrice, 0, lenStepNum) for numKey, stepNum := range stepNumSlice { //先取最后一个