This commit is contained in:
jxxghp
2025-07-28 16:55:22 +08:00
parent 70dd8f0f1d
commit 5340e3a0a7
9 changed files with 17 additions and 17 deletions
+2 -2
View File
@@ -672,7 +672,7 @@ class U115Pan(StorageBase, metaclass=WeakSingleton):
"/open/folder/get_info",
"data",
data={
"path": str(path)
"path": path.as_posix()
}
)
if not resp:
@@ -680,7 +680,7 @@ class U115Pan(StorageBase, metaclass=WeakSingleton):
return schemas.FileItem(
storage=self.schema.value,
fileid=str(resp["file_id"]),
path=str(path) + ("/" if resp["file_category"] == "0" else ""),
path=path.as_posix() + ("/" if resp["file_category"] == "0" else ""),
type="file" if resp["file_category"] == "1" else "dir",
name=resp["file_name"],
basename=Path(resp["file_name"]).stem,