Ken vor 2 Wochen
Ursprung
Commit
4429fe4fe9
1 geänderte Dateien mit 9 neuen und 9 gelöschten Zeilen
  1. 9 9
      app/Http/Controllers/admin/Withdraw.php

+ 9 - 9
app/Http/Controllers/admin/Withdraw.php

@@ -35,17 +35,17 @@ class Withdraw extends Controller
             $where = PaymentOrderService::getWhere($params);
             $count = $query->where($where)->count();
             $list = $query->where($where)
-                ->with(['member'])
+                ->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));
-            }
+//            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];