winList = $list; } /** * Execute the job. * * @return void */ public function handle() { // 获取数据 $winList = $this->winList; try { // 循环分派任务 foreach ($winList as $item) { // 上锁 LuckyBagRewardJobs::dispatch($item); } } catch (Throwable $th) { Log::info('job_error/live_Lucky_bag_jobs', $th->getMessage(), $winList); } } }