Commit a349da0a authored by shajiaiming's avatar shajiaiming

fix

parent aac3320a
......@@ -165,7 +165,7 @@ class OrderController extends Controller
$execer = 'paracross';
$func_name = 'GetTitle';
$playload = [
'data' => 'user.p.'.$val['consensus_platform'] . '.'
'data' => 'user.p.' . $val['consensus_platform'] . '.'
];
$result = $service->chainQuery($execer, $func_name, $playload);
if (!isset($result['result'])) {
......@@ -175,6 +175,19 @@ class OrderController extends Controller
if ($consensHeight < $height) {
continue;
}
$func_name = 'GetAssetTxResult';
$playload = [
'data' => $val['send_result']
];
$result = $service->chainQuery($execer, $func_name, $playload);
if (!isset($result['result'])) {
continue;
}
$tx_result = $result['result']['success'];
if (false == $tx_result) {
continue;
}
}
$currentModel = CoinCTocTransfer::findOne($val['id']);
$currentModel->query_result = $query_result;
......
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