Commit fe58023e authored by shajiaiming's avatar shajiaiming

fix

parent 3fcec3c2
...@@ -55,7 +55,7 @@ class Bilaxy extends Exchange implements ExchangeInterface ...@@ -55,7 +55,7 @@ class Bilaxy extends Exchange implements ExchangeInterface
$key = $this->quotation_prefix . 'BVA_USDT'; $key = $this->quotation_prefix . 'BVA_USDT';
foreach ($data as $item) { foreach ($data as $item) {
if ( 260 == $item['symbol']) { if ( 260 == $item['symbol']) {
$this->redis->hmset($key, 'low', $data['low'], 'high', $data['high'], 'last', $data['last']); $this->redis->hmset($key, 'low', $item['low'], 'high', $item['high'], 'last', $item['last']);
$this->redis->sadd($this->supported_symbol, 'KPC8_USDT'); $this->redis->sadd($this->supported_symbol, 'KPC8_USDT');
} }
} }
......
...@@ -124,7 +124,7 @@ class CrossChainController extends Controller ...@@ -124,7 +124,7 @@ class CrossChainController extends Controller
#$result = $service->QueryTransaction($send_result); #$result = $service->QueryTransaction($send_result);
$switch = true; $switch = true;
$result = $this->queryTransaction($node_params, $send_result); $result = $this->queryTransaction($node_params, $send_result);
echo json_encode($result);exit;
if (isset($result['result']['actionName']) && 'unknown' == $result['result']['actionName']) { if (isset($result['result']['actionName']) && 'unknown' == $result['result']['actionName']) {
$redis->hdel(CoinCrossChain::CROSS_CHAIN_CACHE_FAIL, $val['address'] . ':' . $val['is_with_draw']); $redis->hdel(CoinCrossChain::CROSS_CHAIN_CACHE_FAIL, $val['address'] . ':' . $val['is_with_draw']);
$query_result = 'success'; $query_result = 'success';
......
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