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

index ae20e9e..5499e09 100644 (file)
@@ -55,6 +55,20 @@ class Pman_Core_UpdateCurrencyRate extends Pman
             die('no any currency');
         }
         
+        foreach ($currency as $c){
+            $params = array(
+                'lang' => 'en',
+                'result' => 1,
+                'date1' => '10/14/14',
+                'date'=> date('m/d/y'),
+                'date_fmt' => 'us',
+                'exch' => 'CNY',
+                'expr' => 'USD',
+                'margin_fixed' => 0,
+                'format'=> 'HTML'
+            );
+        }
+