Commit 93af38b5 authored by shajiaiming's avatar shajiaiming

Merge branch 'feature/optimize' into 'master'

fix See merge request !446
parents f616f67f f7cf3d65
......@@ -182,6 +182,10 @@ class TickerController extends BaseController
if ('BCH' == strtoupper($tag_first)) {
$tag_first = 'BCC';
}
if ('USAT' == strtoupper($tag_second)) {
$tag_second = 'USDT';
}
$exchange = ExchangeFactory::createExchange($exchange);
$quotation = $exchange->getTicker(strtolower($tag_first), strtolower($tag_second));
if (empty($quotation)) continue;
......
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