Commit d0bdfc08 authored by shajiaiming's avatar shajiaiming

Merge branch 'feature/ticker' into 'master'

添加YX价格 See merge request !342
parents 93c45f49 b7e97a5c
......@@ -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