From 80d3be778cfdd61c8a1a5ec52edbb31168047a2b Mon Sep 17 00:00:00 2001 From: elf <360197197@qq.com> Date: Mon, 25 Dec 2023 22:11:04 +0800 Subject: [PATCH] yh --- app/Controller/Payment/AccountController.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/Controller/Payment/AccountController.php b/app/Controller/Payment/AccountController.php index 5b2bbf9..8be9c00 100644 --- a/app/Controller/Payment/AccountController.php +++ b/app/Controller/Payment/AccountController.php @@ -263,7 +263,8 @@ class AccountController extends AbstractController } $query->whereIn('status', $statusList); } - if (!empty($request->input('timeRange'))) { + $timeRange = $request->input('timeRange'); + if (!empty($timeRange)) { $timeRange[0] .= ' 00:00:00'; $timeRange[1] .= ' 23:59:59'; $query->whereBetween('created_at', $timeRange); @@ -302,7 +303,7 @@ class AccountController extends AbstractController 'card_user_name' => $order->card_user_name, 'last_card_no' => $order->last_card_no, 'bank_mobile' => $order->bank_mobile, - 'certificate_no' => $order->ucertificate_no, + 'certificate_no' => $order->certificate_no, 'status' => $order->status, 'system_status' => $systemStatus, 'status_text' => $statusText,