Commit f8405423 authored by shajiaiming's avatar shajiaiming

Merge branch 'feature/becc_coin' into 'master'

fix See merge request !16
parents 35a554e6 5ccd49d0
...@@ -92,7 +92,7 @@ class ExchangeBusiness ...@@ -92,7 +92,7 @@ class ExchangeBusiness
if(in_array(strtoupper($tag),['BECC'])){ if(in_array(strtoupper($tag),['BECC'])){
$exchange = ExchangeFactory::createExchange("S"); $exchange = ExchangeFactory::createExchange("S");
$quotation = $exchange->getTicker($tag, 'ST'); $quotation = $exchange->getTicker($tag, 'ST');
$quotation['rmb'] = (float)sprintf("%0.2f", $quotation['last']); $quotation['rmb'] = (float)sprintf("%0.2f", $quotation['close']);
return $quotation; return $quotation;
} }
......
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