Commit 92c03ec9 authored by shajiaiming's avatar shajiaiming

fix

parent eafa9ed1
......@@ -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