fix storage api

This commit is contained in:
jxxghp
2024-09-21 20:18:40 +08:00
parent fada22e892
commit 7444b3e84b
4 changed files with 25 additions and 7 deletions
+2
View File
@@ -162,6 +162,8 @@ class U115Pan(StorageBase, metaclass=Singleton):
if not self.__init_cloud():
return []
try:
if fileitem.type == "file":
return [fileitem]
items = self.cloud.storage().list(dir_id=fileitem.fileid)
return [schemas.FileItem(
storage=self.schema.value,