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