能上传并识别PDF

This commit is contained in:
DSQ
2026-03-12 20:05:48 +08:00
parent 109c06e1d9
commit d69858434f
5 changed files with 205 additions and 85 deletions

View File

@@ -63,6 +63,10 @@ def get_minio_client() -> Minio | None:
)
def is_minio_configured() -> bool:
return get_minio_client() is not None
def get_bucket_name() -> str:
return _get_env('MINIO_BUCKET', default='achievement') or 'achievement'