Commit 09f316b7 authored by shajiaiming's avatar shajiaiming

修复已知问题

parent 393f0f1d
...@@ -374,7 +374,7 @@ class CoinController extends BaseController ...@@ -374,7 +374,7 @@ class CoinController extends BaseController
$service = new Chain33Business(); $service = new Chain33Business();
$result = $service->getProperFee(); $result = $service->getProperFee();
if (0 === $result['code']) { if (0 === $result['code']) {
$platform_with_hold['bty_fee'] = (float)sprintf("%0.4f", $result['result']['properFee'] / 1e8); $platform_with_hold['bty_fee'] = (float)sprintf("%0.4f", $result['result']['properFee'] / 1e8) > 0.01 ? 0.01 : (float)sprintf("%0.4f", $result['result']['properFee'] / 1e8);
} else { } else {
$platform_with_hold['bty_fee'] = (float)sprintf("%0.4f", Yii::$app->params['bty_fee']); $platform_with_hold['bty_fee'] = (float)sprintf("%0.4f", Yii::$app->params['bty_fee']);
} }
......
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