|
|
@@ -57,16 +57,6 @@ class Withdraw extends Controller
|
|
|
->with(['userInfo'])
|
|
|
->orderBy('created_at', 'desc')
|
|
|
->forpage($page, $limit)->get();
|
|
|
-// foreach ($list as &$item) {
|
|
|
-// $item['exchange_rate'] = floatval($item['exchange_rate']);
|
|
|
-// $item['after_balance'] = floatval($item['after_balance']);
|
|
|
-// $item['service_charge'] = floatval($item['service_charge']);
|
|
|
-// $item['amount'] = floatval($item['amount']);
|
|
|
-// $item['to_account'] = floatval($item['to_account']);
|
|
|
-// $item['to_account_usdt'] = floatval(bcdiv($item['to_account'], $item['exchange_rate'], 4));
|
|
|
-// }
|
|
|
-
|
|
|
-
|
|
|
$result = ['total' => $count, 'data' => $list];
|
|
|
} catch (ValidationException $e) {
|
|
|
return $this->error(HttpStatus::CUSTOM_ERROR, $e->validator->errors()->first());
|