Selaa lähdekoodia

修复A股资金转出显示USD的bug

lintong 2 viikkoa sitten
vanhempi
commit
5ad8518069
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 2 2
      Koala/Koala/FX/Macro/PublicMethod.swift

+ 2 - 2
Koala/Koala/FX/Macro/PublicMethod.swift

@@ -1265,11 +1265,11 @@ func currencyForMarket(market: String) -> String {
 }
 
 func currencyForMTCode(mtCode: String, market: String) -> String {
-    if mtCode == "SH" {
+    if mtCode == "CN" {
         return "CNY"
     } else if mtCode == "US" {
         return "USD"
-    } else if mtCode == "SZ" {
+    } else if mtCode == "CN" {
         return "CNY"
     } else if mtCode == "HK" {
         return "HKD"