Commit 3d2f449f authored by shajiaiming's avatar shajiaiming

修复已知问题

parent 82dd5ef1
...@@ -38,7 +38,7 @@ class IssueChainController extends BaseController ...@@ -38,7 +38,7 @@ class IssueChainController extends BaseController
foreach ($chain_model as &$val) { foreach ($chain_model as &$val) {
$val->chain_name = isset($val->chain->platform) ? $val->chain->platform : ''; $val->chain_name = isset($val->chain->platform) ? $val->chain->platform : '';
$val->issue_charge = $val->issue_charge; $val->issue_charge = (float)sprintf("%0.3f", $val->issue_charge);
$val->charge_unit = isset($val->gas->coin_name) ? $val->gas->coin_name : ''; $val->charge_unit = isset($val->gas->coin_name) ? $val->gas->coin_name : '';
unset($val->download_url); unset($val->download_url);
unset($val->introduce); unset($val->introduce);
......
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