total
This commit is contained in:
parent
835bfd1b89
commit
731697d676
@ -261,7 +261,7 @@ class FlowPoolController extends Controller
|
||||
|
||||
$flowPoolData['total_flows'] = sprintf('%.02f', $flowPoolData['total_flows']);
|
||||
|
||||
return res(['flowPool' => $flowPool, 'settings' => $newSettings, 'total' => $cards->values()->sum(), 'total_flows' => $flowPoolData['total_flows']], '数据设置');
|
||||
return res(['flowPool' => $flowPool, 'settings' => $newSettings, 'total' => array_sum(array_pluck($newSettings, 'total')), 'total_flows' => $flowPoolData['total_flows']], '数据设置');
|
||||
}
|
||||
|
||||
$conditions = $this->request->all();
|
||||
|
Loading…
x
Reference in New Issue
Block a user