From 4575eccbe58183715f15a77b502bc9ea74f1b83a Mon Sep 17 00:00:00 2001 From: mkm <727897186@qq.com> Date: Thu, 23 May 2024 16:46:26 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E4=BA=86FinancialReco?= =?UTF-8?q?rdController=E4=B8=AD=E7=9A=84=E9=80=BB=E8=BE=91=E9=94=99?= =?UTF-8?q?=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/api/controller/financial/FinancialRecordController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/api/controller/financial/FinancialRecordController.php b/app/api/controller/financial/FinancialRecordController.php index 8279685..9a561c4 100644 --- a/app/api/controller/financial/FinancialRecordController.php +++ b/app/api/controller/financial/FinancialRecordController.php @@ -23,7 +23,7 @@ class FinancialRecordController extends BaseApiController { $start_time = $this->request->get('start_time'); $end_time = $this->request->get('end_time'); - if(isset($start_time)||isset($end_time)){ + if(!isset($start_time)||!isset($end_time)){ $start_time=date('Y-m-d',time()); $end_time=date('Y-m-d',strtotime('-7 days')); }