comment("开始执行"); UsersWallet::chunk(100, function ($wallets) { $wallets->each(function ($item, $key) { UpdateBalanceJob::dispatch($item)->onQueue('update:block:balance'); }); }); $this->comment("执行完成"); } } ?>