|
|
@ -233,7 +233,7 @@ class FinanceController extends BaseController
|
|
|
|
foreach ($months as $month) {
|
|
|
|
foreach ($months as $month) {
|
|
|
|
$data['begin_time'] = strtotime($month);
|
|
|
|
$data['begin_time'] = strtotime($month);
|
|
|
|
$data['end_time'] = strtotime('+1 month', $data['begin_time']) - 1;
|
|
|
|
$data['end_time'] = strtotime('+1 month', $data['begin_time']) - 1;
|
|
|
|
$balance = bcadd($balance, $withdrawModel->$fun($promote, $data));
|
|
|
|
$balance = bcadd($balance, $withdrawModel->$fun($promote, $data), 2);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|