优化登录controller对登录方式的处理

This commit is contained in:
2025-05-06 22:54:38 +08:00
parent 94cc8feda8
commit be0dbe89a4

View File

@@ -19,7 +19,7 @@ export class AuthController {
case 'email':
return this.authService.loginWithEmail(loginDto);
default:
throw new BadRequestException('Invalid login type');
throw new BadRequestException('服务器错误');
}
}
}