Commit f4eddeba authored by shajiaiming's avatar shajiaiming

Merge branch 'feature/ticker' into 'master'

fix See merge request !249
parents 97f176e9 92c03ec9
......@@ -196,7 +196,7 @@ class ZhaobiBuilder extends FactoryService
}
}
if ($this->basic_coin[5] == $base_currency) { //基础货币为CCNY
if ('CCNY' == $base_currency) { //基础货币为CCNY
$symbol_currency = $currency . $this->basic_coin[2];
$symbol_base_currency = $this->basic_coin[2] . $base_currency;
list($low_currency, $high_currency, $close_currency, $open_currency) = $this->redis->hmget($this->quotation_prefix . strtolower($symbol_currency), 'low', 'high', 'last', 'open');
......@@ -222,7 +222,7 @@ class ZhaobiBuilder extends FactoryService
goto doEnd;
}
if ($this->basic_coin[5] == $currency) { //交易货币为CCNY
if ('CCNY' == $currency) { //交易货币为CCNY
$symbol_currency = $base_currency . $this->basic_coin[2];
$symbol_base_currency = $this->basic_coin[2] . $currency;
if ($currency . $base_currency == 'CCNYUSDT') {
......
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