图片代理Api增加cache参数

This commit is contained in:
jxxghp
2025-07-03 17:07:54 +08:00
parent 43a557601e
commit 52ef390464
2 changed files with 4 additions and 3 deletions

View File

@@ -191,8 +191,8 @@ class LocalStorage(StorageBase):
"""
return Path(fileitem.path)
def upload(self, fileitem: schemas.FileItem, path: Path, new_name: Optional[str] = None) -> Optional[
schemas.FileItem]:
def upload(self, fileitem: schemas.FileItem, path: Path,
new_name: Optional[str] = None) -> Optional[schemas.FileItem]:
"""
上传文件
:param fileitem: 上传目录项