argument('user_id'); $user = (new User)->find($user_id); $this->info('解除封禁: '.$user->name); $user->banned_at = null; $user->save(); $this->info('用户已解除封禁。'); } }