From d88594aa0f19d5fef257f33172fcb1925d56fa39 Mon Sep 17 00:00:00 2001 From: pengda <10266652509@qq.com> Date: Tue, 3 Jun 2025 09:34:37 +0800 Subject: [PATCH] =?UTF-8?q?=E6=AF=8F=E6=97=A5=E5=A2=9E=E9=87=8F=E7=BB=9F?= =?UTF-8?q?=E8=AE=A1bug=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- queue/crontab/spider_behavior_delta.php | 1 + 1 file changed, 1 insertion(+) diff --git a/queue/crontab/spider_behavior_delta.php b/queue/crontab/spider_behavior_delta.php index e3110bc..edd298c 100644 --- a/queue/crontab/spider_behavior_delta.php +++ b/queue/crontab/spider_behavior_delta.php @@ -17,6 +17,7 @@ class spiderBehaviorDelta { //统计今日增量 $today = date('Y-m-d',strtotime(DATE)); + if(DATE == '') $today = date('Y-m-d'); $page_num = 1; $page_size = 2000;