UpdateCurrencyRate.php
authorEdward <edward@roojs.com>
Mon, 20 Oct 2014 07:21:54 +0000 (15:21 +0800)
committerEdward <edward@roojs.com>
Mon, 20 Oct 2014 07:21:54 +0000 (15:21 +0800)
UpdateCurrencyRate.php

index 6aced06..a90d3b9 100644 (file)
@@ -13,6 +13,9 @@ class Pman_Core_UpdateCurrencyRate extends Pman
     
     var $actionUrl = 'http://www.oanda.com/currency/historical-rates-classic';
     
+    var $mapping = array(
+        'RMB' => 'CNY'
+    )
     
     function getAuth() 
     {
@@ -53,6 +56,8 @@ class Pman_Core_UpdateCurrencyRate extends Pman
         }
         
         
+        
+        
 //        $params = array(
 //            'lang' => 'en',
 //            'result' => 1,