🎇 quark support

This commit is contained in:
Xhofe
2022-02-16 20:20:39 +08:00
parent cb53ddc8e8
commit b3a6e33ce1
9 changed files with 763 additions and 3 deletions

View File

@ -300,7 +300,7 @@ func (driver Pan123) Upload(file *model.FileStream, account *model.Account) erro
return base.ErrNotFolder
}
parentFileId, _ := strconv.Atoi(parentFile.Id)
tempFile, err := ioutil.TempFile("data/temp", "file-*")
tempFile, err := ioutil.TempFile(conf.Conf.TempDir, "file-*")
if err != nil {
return err
}