|
|
@@ -71,16 +71,17 @@ class Withdraw extends Controller
|
|
|
->with(['member'])
|
|
|
->orderBy('created_at', 'desc')
|
|
|
->forpage($page, $limit)->get();
|
|
|
- foreach ($list as &$item){
|
|
|
+ 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'] = bcdiv($item['to_account'],$item['exchange_rate']);
|
|
|
|
|
|
|
|
|
- }
|
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
|
$result = ['total' => $count, 'data' => $list];
|