Commit 5dbb1273 authored by shajiaiming's avatar shajiaiming

Merge branch 'feature/becc_coin' into 'master'

fix See merge request !17
parents f8405423 54e1dab3
...@@ -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['close']); $quotation['rmb'] = (float)sprintf("%0.2f", $quotation['last']);
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