status == 2) { app('auth:admin')->logout(); throw new AuthException('账号被禁用', AuthException::ACCOUNT_DISABLED); } } }