efps-version
elf 1 year ago
parent 20ac65bbd0
commit 6a3298bbf0

@ -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,

Loading…
Cancel
Save