where('enable', 1)->where('expire_time', '<=', date('Y-m-d'))->update(['enable' => 0]); Log::info('定时任务:' . $this->description); } }