This commit is contained in:
laodaming 2023-07-21 17:23:48 +08:00
parent 83fc1b30c7
commit fef5d33f08

View File

@ -115,7 +115,7 @@ func (l *GetPriceByPidLogic) dealWithStepRange(stepNumSlice, stepPriceSlice []in
rangeNum.End = nextNum - 1 rangeNum.End = nextNum - 1
} else { //最后一个 } else { //最后一个
rangeNum.Begin = num rangeNum.Begin = num
rangeNum.End = 99999999999 rangeNum.End = -1
} }
stepListRsp = append(stepListRsp, types.StepPrice{ stepListRsp = append(stepListRsp, types.StepPrice{
RangeNum: rangeNum, RangeNum: rangeNum,