Commit b7e97a5c authored by shajiaiming's avatar shajiaiming

添加YX价格

parent 93c45f49
......@@ -47,7 +47,6 @@ class ExchangeBusiness
18 => 'Boc',
//1 => 'Hadax', //不需要
//2 => 'Bitfinex', //不需要
//3 => 'Bittrex', //不需要
......@@ -70,7 +69,7 @@ class ExchangeBusiness
public static function getquatation($tag = 'btc')
{
$coin_quotation_disable_items = Yii::$app->params['coin_quotation_disable_items'];
if (strtoupper($tag) == 'CCNY' || strtoupper($tag) == 'CNYT' || strtoupper($tag) == 'ETC') {
if (strtoupper($tag) == 'CCNY' || strtoupper($tag) == 'CNYT' || strtoupper($tag) == 'ETC' || strtoupper($tag) == 'YX') {
$exchange = ExchangeFactory::createExchange("Zhaobi");
if (strtoupper($tag) == 'ETC') {
$quotation = $exchange->getTicker($tag, 'USDT');
......
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