This commit is contained in:
邓皓元 2019-11-26 18:00:11 +08:00
parent 72febb1e8d
commit 1241af4260

View File

@ -177,7 +177,7 @@ class FlowPoolService extends Service
$flowPool->members = $flowArry['members'];
$flowPool->minimum_flows = $this->humanFlows($flowArry['minimum_flows']);
$flowPool->excess_flows = $this->humanFlows($flowArry['excess_flows']);
$flowPool->minimum_price = sprintf('%.02f', $flowArry['minimum_price'] / 10000);
$flowPool->minimum_price = sprintf('%.02f', $flowArry['minimum_price'] / 100);
$flowPool->excess_price = sprintf('%.02f', $flowArry['excess_price'] / 10000);
$flowPool->total_price = sprintf('%.02f', $flowPool->minimum_price + $flowPool->excess_price);