mirror of
https://github.com/HChaZZY/alist.git
synced 2025-12-06 11:03:49 +08:00
🚧 Change the location of the files and folders of the 189cloud
This commit is contained in:
@@ -248,7 +248,6 @@ func (driver Cloud189) GetFiles(fileId string, account *model.Account) ([]Cloud1
|
|||||||
if resp.FileListAO.Count == 0 {
|
if resp.FileListAO.Count == 0 {
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
res = append(res, resp.FileListAO.FileList...)
|
|
||||||
for _, folder := range resp.FileListAO.FolderList {
|
for _, folder := range resp.FileListAO.FolderList {
|
||||||
res = append(res, Cloud189File{
|
res = append(res, Cloud189File{
|
||||||
Id: folder.Id,
|
Id: folder.Id,
|
||||||
@@ -257,6 +256,7 @@ func (driver Cloud189) GetFiles(fileId string, account *model.Account) ([]Cloud1
|
|||||||
Size: -1,
|
Size: -1,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
res = append(res, resp.FileListAO.FileList...)
|
||||||
pageNum++
|
pageNum++
|
||||||
}
|
}
|
||||||
return res, nil
|
return res, nil
|
||||||
|
|||||||
Reference in New Issue
Block a user