|
|
@ -261,7 +261,7 @@ class RechargeController extends AbstractController
|
|
|
|
|
|
|
|
|
|
|
|
$records = [];
|
|
|
|
$records = [];
|
|
|
|
foreach ($orders as $order) {
|
|
|
|
foreach ($orders as $order) {
|
|
|
|
$bankCard = $bankCards[$order->protocol] ?? null;
|
|
|
|
$bankCard = $order->protocol ? ($bankCards[$order->protocol] ?? null) : null;
|
|
|
|
$records[] = [
|
|
|
|
$records[] = [
|
|
|
|
'out_order_no' => $order->out_order_no,
|
|
|
|
'out_order_no' => $order->out_order_no,
|
|
|
|
'payed_at' => $order->payed_at,
|
|
|
|
'payed_at' => $order->payed_at,
|
|
|
|