argument('user_id'); Host::where('user_id', $user_id)->update([ 'status' => 'suspended', 'suspended_at' => now() ]); $this->info('暂停用户的所有 Host 成功。'); } }