Commit 22dd39ab authored by shajiaiming's avatar shajiaiming

Merge branch 'feature/ticker' into 'master'

ghp price See merge request !230
parents 9ddbde28 10f6cfe5
......@@ -152,8 +152,8 @@ class ExchangeBusiness
}
if (in_array(strtoupper($tag), ['GHP'])) {
$exchange = ExchangeFactory::createExchange("Zg");
$quotation = $exchange->getTicker($tag, 'CNZ');
$exchange = ExchangeFactory::createExchange("Bitnasdaq");
$quotation = $exchange->getTicker($tag);
$quotation['rmb'] = (float)sprintf("%0.2f", $quotation['last']);
goto doEnd;
}
......
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