mirror of
https://github.com/HChaZZY/alist.git
synced 2025-12-26 03:56:58 +08:00
🎨 change link interface
This commit is contained in:
@@ -101,7 +101,8 @@ func (driver Alist) Files(path string, account *model.Account) ([]model.File, er
|
||||
return files, nil
|
||||
}
|
||||
|
||||
func (driver Alist) Link(path string, account *model.Account) (*base.Link, error) {
|
||||
func (driver Alist) Link(args base.Args, account *model.Account) (*base.Link, error) {
|
||||
path := args.Path
|
||||
path = utils.ParsePath(path)
|
||||
name := utils.Base(path)
|
||||
flag := "d"
|
||||
|
||||
Reference in New Issue
Block a user