Commit 1c2c93d7 authored by shajiaiming's avatar shajiaiming

fix

parent 340e3106
...@@ -56,7 +56,7 @@ class Zt extends Exchange implements ExchangeInterface ...@@ -56,7 +56,7 @@ class Zt extends Exchange implements ExchangeInterface
{ {
$curl = new Curl(); $curl = new Curl();
$content = $curl->get($this->base_url, false); $content = $curl->get($this->base_url, false);
if (is_array($content) && isset($content['date']) && isset($content['ticker'])) { if (is_array($content) && isset($content['ticker'])) {
$data = $content['ticker']; $data = $content['ticker'];
foreach ($data as $item) { foreach ($data as $item) {
if (in_array($item['symbol'], ['CIC_USDT'])) { if (in_array($item['symbol'], ['CIC_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