Commit 30ae5c57 by 杨树贤

Merge branch 'ysx-商品活动价逻辑修改-20230823' into dev

parents 8e8a68f6 b1c87877
Showing with 3 additions and 0 deletions
......@@ -294,11 +294,14 @@ func (ls *LyService) GetCoefficientAndPrice(sku model.LySku) model.LySku {
priceUs := c.MyRound(price.PriceUs, 4)
priceUs = c.MyRound(c.MulFloat(price.PriceUs, sku.DiscountRatio.RatioUsd), 4)
data[key].PriceUs = priceUs
price.PriceAcUs = priceUs
}
if price.PriceCn != 0 {
priceCn := c.MyRound(price.PriceCn, 4)
priceCn = c.MyRound(c.MulFloat(price.PriceCn, sku.DiscountRatio.Ratio), 4)
data[key].PriceCn = priceCn
price.PriceCn = priceCn
}
//专卖成本价
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment