Commit 3d0b33d0 by 杨树贤

element特殊处理去除

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