fix file upload

This commit is contained in:
jxxghp
2024-09-20 13:09:25 +08:00
parent 117bd80528
commit 8ac3fd46d2
2 changed files with 12 additions and 6 deletions
+2 -1
View File
@@ -187,7 +187,8 @@ class LocalStorage(StorageBase):
"""
上传文件
"""
pass
file_path = path.rename(fileitem.path)
return self.__get_diritem(file_path)
def copy(self, fileitem: schemas.FileItem, target_file: Path) -> bool:
"""