摘要: 1.创建任务类php artisan make:job ProcessPodcast2.任务类里写业务逻辑 public function handle(){ // TestModel::create(['content' => time()]);}3.开启队列php artisan queue:w 阅读全文
posted @ 2022-05-11 16:33 CanyingV 阅读(154) 评论(0) 推荐(0) 编辑