From 4e135500447d84166874e2295442e40ba3a4cce7 Mon Sep 17 00:00:00 2001 From: laodaming <11058467+laudamine@user.noreply.gitee.com> Date: Fri, 21 Jul 2023 12:08:32 +0800 Subject: [PATCH] fix --- server/product/internal/logic/getpricebypidlogic.go | 1 + 1 file changed, 1 insertion(+) 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 { //先取最后一个