feat: dify_approve_workflow_url 以及 dify_approve_workflow_key

This commit is contained in:
martsforever
2025-12-10 17:31:37 +08:00
parent bad82e6fc2
commit aaa8390dd2
3 changed files with 9 additions and 2 deletions
+3
View File
@@ -49,6 +49,9 @@ class Settings(BaseSettings):
file_public_path: str = Field(..., env='FILE_PUBLIC_PATH')
default_update_by_fields: bool = Field(..., env='DEFAULT_UPDATE_BY_FIELDS')
dify_approve_workflow_url: str = Field(..., env='DIFY_APPROVE_WORKFLOW_URL')
dify_approve_workflow_key: str = Field(..., env='DIFY_APPROVE_WORKFLOW_KEY')
class Config:
env_file = ".env"
env_file_encoding = "utf-8"