Commit 0e30f6c8 authored by shajiaiming's avatar shajiaiming

Merge branch 'feature/ticker' into 'master'

fix See merge request !200
parents 654405f7 beebdc90
......@@ -164,7 +164,10 @@ class TickerController extends BaseController
$exchange = 'Binance';
} else if ('zhaobi' == $val['platform']) {
$exchange = 'Zhaobi';
} else if ('bitnasdaq' == strtolower($val['platform'])){
$exchange = 'Bitnasdaq';
} else {
}
$symbol = explode('/', $val['symbol']);
......@@ -201,6 +204,10 @@ class TickerController extends BaseController
$temp['platform_zh'] = '币安';
$temp['platform_us'] = 'binance';
}
if ('BITNASDAQ' == strtoupper($val['platform'])) {
$temp['platform_zh'] = '比特纳斯达克';
$temp['platform_us'] = 'bitnasdaq';
}
array_push($ticker, $temp);
}
if (!empty($condition)) {
......
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