Commit 132e7d08 by 杨树贤

含税

parent 3d0b33d0
Showing with 3 additions and 4 deletions
......@@ -17,10 +17,9 @@ type PriceService struct {
// 所以要全部先转成正确的美金价才能显示,目前先写死汇率,因为目前没有地方能获取实时的各种转美金的汇率
func (ls *LyService) TransformSpecialSupplierPrice(supplierId int64, priceUs float64, usRatio float64) float64 {
switch supplierId {
//case 6:
// customRate := 7.85 //港币转美金
// priceUs = c.MyRound(c.DivFloat(priceUs, customRate), 4)
// break
case 6:
priceUs = c.MyRound(c.DivFloat(priceUs, usRatio), 4)
break
case 21:
customRate := usRatio //人民币转美金
priceUs = c.MyRound(c.DivFloat(priceUs, customRate), 4)
......
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