Commit 30517063 authored by rlgy's avatar rlgy

update

parent fb742e40
...@@ -55,7 +55,7 @@ class ExchangeBusiness ...@@ -55,7 +55,7 @@ class ExchangeBusiness
if (!$f) { if (!$f) {
//所有交易所都不能直接获取交易对的行情就通过BTC去转换 //所有交易所都不能直接获取交易对的行情就通过BTC去转换
//获取BTC_USD //获取BTC_USD
$btc_usd = ExchangeFactory::createExchange(self::$exchanges[0])->getTicker('btc'); $btc_usd = ExchangeFactory::createExchange(self::$exchanges[1])->getTicker('btc');
foreach (self::$exchanges as $exchange) { foreach (self::$exchanges as $exchange) {
/** /**
* @var $exchange \common\service\exchange\Exchange * @var $exchange \common\service\exchange\Exchange
......
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