Commit 1caf1f40 authored by shajiaiming's avatar shajiaiming

获取美元

parent f94f4f0f
...@@ -205,7 +205,7 @@ class CoinBusiness ...@@ -205,7 +205,7 @@ class CoinBusiness
$quotation = ExchangeBusiness::getquatation($row['name']); $quotation = ExchangeBusiness::getquatation($row['name']);
if($quotation){ if($quotation){
$tikerdata['price'] = $quotation['rmb']; $tikerdata['price'] = $quotation['rmb'];
$tikerdata['dollar'] = $quotation['last']; $tikerdata['dollar'] = $quotation['usd'];
}else{ }else{
$tikerdata['price'] = 0; $tikerdata['price'] = 0;
$tikerdata['dollar'] = 0; $tikerdata['dollar'] = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment