From fef5d33f08806a8c53951218417e2106a1c8e3e3 Mon Sep 17 00:00:00 2001 From: laodaming <11058467+laudamine@user.noreply.gitee.com> Date: Fri, 21 Jul 2023 17:23:48 +0800 Subject: [PATCH] fix --- server/product/internal/logic/getpricebypidlogic.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/product/internal/logic/getpricebypidlogic.go b/server/product/internal/logic/getpricebypidlogic.go index 7b02d9bd..e8224153 100644 --- a/server/product/internal/logic/getpricebypidlogic.go +++ b/server/product/internal/logic/getpricebypidlogic.go @@ -115,7 +115,7 @@ func (l *GetPriceByPidLogic) dealWithStepRange(stepNumSlice, stepPriceSlice []in rangeNum.End = nextNum - 1 } else { //最后一个 rangeNum.Begin = num - rangeNum.End = 99999999999 + rangeNum.End = -1 } stepListRsp = append(stepListRsp, types.StepPrice{ RangeNum: rangeNum,