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

index 3edefc4..051f2c0 100644 (file)
@@ -29,21 +29,21 @@ class Pman_Core_UpdateCurrencyRate extends Pman
     {
         echo"'update currency exchange rate \n";
         
-        $params = array(
-            'lang' => 'en',
-            'result' => 1,
-            'date1' => '10/14/14',
-            'date'=> '10/20/14',
-            'date_fmt' => 'us',
-            'exch' => 'CNY',
-            'expr' => 'USD',
-            'margin_fixed' => 0,
-            'format'=> 'HTML'
-        );
-        
-        $response = $this->curl($this->actionUrl, $params, 'POST');
-        
-        file_put_contents('/tmp/test.html', $response);
+//        $params = array(
+//            'lang' => 'en',
+//            'result' => 1,
+//            'date1' => '10/14/14',
+//            'date'=> '10/20/14',
+//            'date_fmt' => 'us',
+//            'exch' => 'CNY',
+//            'expr' => 'USD',
+//            'margin_fixed' => 0,
+//            'format'=> 'HTML'
+//        );
+//        
+//        $response = $this->curl($this->actionUrl, $params, 'POST');
+//        
+//        file_put_contents('/tmp/test.html', $response);
         
     }