Commit d75af376 authored by shajiaiming's avatar shajiaiming

fix

parent edd1d8d6
...@@ -234,7 +234,7 @@ class IssueCoinController extends BaseController ...@@ -234,7 +234,7 @@ class IssueCoinController extends BaseController
$data->total = (int)$data->total * 1e8; $data->total = (int)$data->total * 1e8;
$data->chain_name = $data->chain->platform; $data->chain_name = $data->chain->platform;
$data->issue_charge = rtrim(sprintf('%.3f', floatval($data->charge)), '0'); $data->issue_charge = rtrim(sprintf('%.3f', floatval($data->charge)), '0');
$data->charge_unit = isset($data->gas->coin_name) ? $data->gas->coin_name : ''; $data->charge_unit = isset($data->platform->charge_unit) ? $data->platform->charge_unit : '';
$code = 0; $code = 0;
$msg = 'success'; $msg = 'success';
if (CoinIssueCoin::STATUS_FAILED == $data->status) { if (CoinIssueCoin::STATUS_FAILED == $data->status) {
......
...@@ -206,6 +206,7 @@ class IssueChainController extends BaseController ...@@ -206,6 +206,7 @@ class IssueChainController extends BaseController
array_unshift($symbol, 'BTY'); array_unshift($symbol, 'BTY');
$val->tokens = $symbol; $val->tokens = $symbol;
} }
unset($val->exer);
} }
$data = $platform; $data = $platform;
......
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