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;