Commit 4a818f76 authored by shajiaiming's avatar shajiaiming

fix

parent 592ba3a0
......@@ -59,8 +59,8 @@ class Ljz extends Exchange implements ExchangeInterface
if (is_array($res) && 0 == $res['code']) {
$key = $this->quotation_prefix . 'GHT_USDT';
$this->redis->hmset($key, 'low', $res['data'], 'high', $res['data'], 'last', $res['data'], 'change', $res['data']);
if (!$this->redis->sismember($this->supported_symbol, 'HDCUSDT')) {
$this->redis->sadd($this->supported_symbol, 'HDCUSDT');
if (!$this->redis->sismember($this->supported_symbol, 'GHTUSDT')) {
$this->redis->sadd($this->supported_symbol, 'GHTUSDT');
}
}
}
......
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