ali path and link

This commit is contained in:
微凉
2021-10-28 22:50:09 +08:00
parent 98f7dffed9
commit 0a50fbd080
13 changed files with 207 additions and 41 deletions

View File

@ -27,7 +27,7 @@ func ParsePath(rawPath string) (*model.Account,string,drivers.Driver,error) {
break
default:
paths := strings.Split(rawPath,"/")
path = strings.Join(paths[2:],"/")
path = "/" + strings.Join(paths[2:],"/")
name = paths[1]
}
account,ok := model.GetAccount(name)