mirror of https://github.com/Xhofe/alist
🐛 fix 123pan move
parent
c6b34a033b
commit
de638c7c36
|
@ -237,7 +237,7 @@ func (driver Pan123) Move(src string, dst string, account *model.Account) error
|
||||||
}
|
}
|
||||||
parentFileId, _ := strconv.Atoi(dstDirFile.Id)
|
parentFileId, _ := strconv.Atoi(dstDirFile.Id)
|
||||||
data := base.Json{
|
data := base.Json{
|
||||||
"fileId": fileId,
|
"fileIdList": []base.Json{{"FileId": fileId}},
|
||||||
"parentFileId": parentFileId,
|
"parentFileId": parentFileId,
|
||||||
}
|
}
|
||||||
_, err = driver.Request("https://www.123pan.com/api/file/mod_pid",
|
_, err = driver.Request("https://www.123pan.com/api/file/mod_pid",
|
||||||
|
|
Loading…
Reference in New Issue