diff --git a/server/product/internal/logic/gettagproductlistlogic.go b/server/product/internal/logic/gettagproductlistlogic.go index 2b4aed13..f8d76155 100644 --- a/server/product/internal/logic/gettagproductlistlogic.go +++ b/server/product/internal/logic/gettagproductlistlogic.go @@ -142,6 +142,7 @@ func (l *GetTagProductListLogic) GetTagProductList(req *types.GetTagProductListR if len(priceSlice) == 0 { continue } + //正序排序价格(注意排序后的阶梯价格不能用作阶梯数量价格计算) sort.Ints(priceSlice) if min, ok := mapProductMinPrice[v.ProductId]; ok { if min > int64(priceSlice[0]) {