Commit 15a654a5 by 杨树贤

修复价格bug

parent 8a935097
Showing with 1 additions and 1 deletions
...@@ -303,7 +303,7 @@ func (ls *LyService) GetCoefficientAndPrice(sku model.LySku) model.LySku { ...@@ -303,7 +303,7 @@ func (ls *LyService) GetCoefficientAndPrice(sku model.LySku) model.LySku {
priceUs := c.MyRound(price.PriceUs, 4) priceUs := c.MyRound(price.PriceUs, 4)
priceUs = c.MyRound(c.MulFloat(price.PriceUs, sku.DiscountRatio.RatioUsd), 4) priceUs = c.MyRound(c.MulFloat(price.PriceUs, sku.DiscountRatio.RatioUsd), 4)
data[key].PriceUs = priceUs data[key].PriceUs = priceUs
price.PriceAcUs = priceUs price.PriceUs = priceUs
} }
if price.PriceCn != 0 { if price.PriceCn != 0 {
......
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