Commit 5ccd49d0 authored by shajiaiming's avatar shajiaiming

fix

parent 65e005bf
...@@ -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