|
@@ -68,7 +68,7 @@ class UserExtractController
|
|
->where('user_type', 0)
|
|
->where('user_type', 0)
|
|
->where('extract_type', '<>', 'balance')
|
|
->where('extract_type', '<>', 'balance')
|
|
->where('status', 1)->sum('extract_fee');
|
|
->where('status', 1)->sum('extract_fee');
|
|
- $money_sum = bcadd((string)$sum_money, (string)$money, 2);
|
|
|
|
|
|
+ $money_sum = bcadd(bcadd((string)$sum_money, (string)$sum_fee,2), (string)$money, 2);
|
|
$max_range = 0;
|
|
$max_range = 0;
|
|
$range = [];
|
|
$range = [];
|
|
foreach ($fee as $v) {
|
|
foreach ($fee as $v) {
|