Commit 9d8354d2 authored by shajiaiming's avatar shajiaiming

fix

parent bad3a2dd
...@@ -29,21 +29,20 @@ class ExchangeBusiness ...@@ -29,21 +29,20 @@ class ExchangeBusiness
0 => 'Bty', 0 => 'Bty',
1 => 'HuoBi', 1 => 'HuoBi',
2 => 'Hadax', 2 => 'Hadax',
3 => 'Bitfinex', 3 => 'Bittrex',
4 => 'Bittrex', 4 => 'Zb',
5 => 'Zb', 5 => 'Zg',
6 => 'Zg', 6 => 'Go',
7 => 'Go', 7 => 'Zhaobi',
8 => 'Zhaobi', 8 => 'Binance',
9 => 'Binance', 9 => 'Bilaxy',
10 => 'Bilaxy', 10 => 'Bitnasdaq',
11 => 'Bitnasdaq', 11 => 'Isummit',
12 => 'Isummit', 12 => 'Boc',
13 => 'Boc', 13 => 'Jinwang',
14 => 'Jinwang', 14 => 'Hd',
15 => 'Hd', 15 => 'Ztb',
16 => 'Ztb', 16 => 'Wbf'
17 => 'Wbf'
//1 => 'Hadax', //不需要 //1 => 'Hadax', //不需要
//2 => 'Bitfinex', //不需要 //2 => 'Bitfinex', //不需要
...@@ -418,6 +417,7 @@ class ExchangeBusiness ...@@ -418,6 +417,7 @@ class ExchangeBusiness
*/ */
$exchange = ExchangeFactory::createExchange($exchange); $exchange = ExchangeFactory::createExchange($exchange);
if ($exchange->symbolExists($tag)) { if ($exchange->symbolExists($tag)) {
var_dump($exchange);exit;
$quotation = $exchange->getTicker($tag); $quotation = $exchange->getTicker($tag);
$f = true; $f = true;
break; break;
......
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