|
|
@@ -72,8 +72,6 @@ class Withdraw extends Controller
|
|
|
if (in_array($item['status'], [1, 2])) $totalSuccess += $item['amount'];
|
|
|
if ($item['status'] == 3) $totalFail += $item['amount'];
|
|
|
}
|
|
|
-
|
|
|
-
|
|
|
$result = ['total' => $count, 'total_fail' => $totalFail, 'total_success' => $totalSuccess, 'total_amount' => $totalAmount, 'data' => $list];
|
|
|
} catch (ValidationException $e) {
|
|
|
return $this->error(HttpStatus::CUSTOM_ERROR, $e->validator->errors()->first());
|