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