delete(); (new FaqueueLog())->log($job->getQueue(),$job->getName(),$data); }else{ $job->release(); Log::write("短信发送失败:".print_r([ 'name' => $job->getName(), 'result' => $result ],true),'error'); } } public function failed($data){ Log::write("短信任务失败:".print_r(['data' => $data,],true),'error'); } }