首次提交by MimoCode

This commit is contained in:
tang1219
2026-06-15 14:50:15 +08:00
parent 584b31da50
commit ead13f863c
166 changed files with 14908 additions and 1 deletions
+15
View File
@@ -0,0 +1,15 @@
from abc import ABC, abstractmethod
class StorageProvider(ABC):
@abstractmethod
async def save(self, file_path: str, data: bytes) -> str:
pass
@abstractmethod
async def delete(self, file_path: str) -> bool:
pass
@abstractmethod
async def get_url(self, file_path: str) -> str:
pass