This commit is contained in:
laodaming 2023-09-27 17:03:15 +08:00
parent 13420cd400
commit 60749646e2

View File

@ -138,6 +138,7 @@ func (l *GetProductStepPriceLogic) GetProductStepPrice(req *types.GetProductStep
"max_price": maxPrice, "max_price": maxPrice,
"step_range": stepRange, "step_range": stepRange,
"min_buy_units_quantity": stepPrice.MinBuyUnitsNum, "min_buy_units_quantity": stepPrice.MinBuyUnitsNum,
"min_buy_units_quantity_total_price": format.CentitoDollarWithNoHalfAdjust(minBuyUnitsQuantityPrice*stepPrice.MinBuyUnitsNum, 2),
"min_buy_units_quantity_item_price": format.CentitoDollar(minBuyUnitsQuantityPrice, 3), "min_buy_units_quantity_item_price": format.CentitoDollar(minBuyUnitsQuantityPrice, 3),
} }
} }