good version for web

This commit is contained in:
2026-02-18 09:36:18 +08:00
parent 62ea5d36a5
commit 72ab0c0b56
42 changed files with 1305 additions and 1515 deletions

View File

@@ -235,7 +235,7 @@ class DataManager:
def get_media_file(self, file_path: str) -> Optional[bytes]:
"""获取媒体文件内容"""
try:
content = file_storage.download_file(file_path)
content = file_storage.get_object(file_path)
return content
except Exception as e:
logger.error(f"Error getting media file: {str(e)}")