diff --git a/pyproject.toml b/pyproject.toml index 06f9cec..9f02d20 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "codex-console" -version = "1.0.4" +version = "1.1.0" description = "OpenAI account management console" requires-python = ">=3.10" dependencies = [ diff --git a/src/config/constants.py b/src/config/constants.py index 9e787a2..0949de3 100644 --- a/src/config/constants.py +++ b/src/config/constants.py @@ -45,7 +45,7 @@ class EmailServiceType(str, Enum): # ============================================================================ APP_NAME = "OpenAI/Codex CLI 自动注册系统" -APP_VERSION = "2.0.0" +APP_VERSION = "1.1.0" APP_DESCRIPTION = "自动注册 OpenAI/Codex CLI 账号的系统" # ============================================================================ diff --git a/src/config/settings.py b/src/config/settings.py index ac4bb9a..a929c0d 100644 --- a/src/config/settings.py +++ b/src/config/settings.py @@ -48,7 +48,7 @@ SETTING_DEFINITIONS: Dict[str, SettingDefinition] = { ), "app_version": SettingDefinition( db_key="app.version", - default_value="2.0.0", + default_value="1.1.0", category=SettingCategory.GENERAL, description="应用版本" ), @@ -592,7 +592,7 @@ class Settings(BaseModel): # 应用信息 app_name: str = "OpenAI/Codex CLI 自动注册系统" - app_version: str = "2.0.0" + app_version: str = "1.1.0" debug: bool = False # 数据库配置 diff --git a/src/services/temp_mail.py b/src/services/temp_mail.py index cbbaea8..d260529 100644 --- a/src/services/temp_mail.py +++ b/src/services/temp_mail.py @@ -178,6 +178,7 @@ class TempMailService(BaseEmailService): return False otp_keywords = ( + "verification", "verification code", "verify", "one-time code",