Commit beebdc90 authored by shajiaiming's avatar shajiaiming

fix

parent fe9d9836
...@@ -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