fix
This commit is contained in:
parent
59114aa94a
commit
2ac507ef34
|
@ -198,7 +198,7 @@ func (d *FsProductModel3dModel) GetProductMinPrice(ctx context.Context, productI
|
|||
return errors.New(fmt.Sprintf("the count of step price is 0:%d", modelInfo.Id))
|
||||
}
|
||||
sort.SliceStable(stepPrice.PriceRange, func(i, j int) bool {
|
||||
return stepPrice.PriceRange[i].Price < stepPrice.PriceRange[j].Price
|
||||
return stepPrice.PriceRange[i].Price > stepPrice.PriceRange[j].Price
|
||||
})
|
||||
mapModelMinPrice[modelInfo.Id] = stepPrice.PriceRange[lenRange-1].Price
|
||||
case constants.TAG_PARTS: //配件
|
||||
|
|
Loading…
Reference in New Issue
Block a user