projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df663f1
)
UpdateCurrencyRate.php
author
Edward
<edward@roojs.com>
Mon, 20 Oct 2014 07:23:32 +0000
(15:23 +0800)
committer
Edward
<edward@roojs.com>
Mon, 20 Oct 2014 07:23:32 +0000
(15:23 +0800)
UpdateCurrencyRate.php
patch
|
blob
|
history
diff --git
a/UpdateCurrencyRate.php
b/UpdateCurrencyRate.php
index
ae20e9e
..
5499e09
100644
(file)
--- a/
UpdateCurrencyRate.php
+++ b/
UpdateCurrencyRate.php
@@
-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'
+ );
+ }
+