🎨 Pull away Path

This commit is contained in:
微凉
2022-01-28 11:04:56 +08:00
parent b797f4302c
commit 1a69d80489
5 changed files with 34 additions and 5 deletions

View File

@ -5,6 +5,7 @@ import (
"fmt"
"github.com/Xhofe/alist/conf"
"github.com/Xhofe/alist/drivers/base"
"github.com/Xhofe/alist/drivers/operate"
"github.com/Xhofe/alist/model"
"github.com/Xhofe/alist/server/common"
"github.com/Xhofe/alist/utils"
@ -109,7 +110,7 @@ func Path(c *gin.Context) {
common.ErrorResp(c, err, 500)
return
}
file, files, err := driver.Path(path, account)
file, files, err := operate.Path(driver, account, path)
if err != nil {
common.ErrorResp(c, err, 500)
return