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,