fix: mapping filename in GetName

some missed filename mapping
This commit is contained in:
Noah Hsu
2022-11-30 20:46:54 +08:00
parent d94cf72da2
commit 83644dab85
11 changed files with 33 additions and 25 deletions

View File

@ -1,6 +1,10 @@
package model
import "time"
import (
"time"
"github.com/alist-org/alist/v3/pkg/utils"
)
type Object struct {
ID string
@ -12,7 +16,7 @@ type Object struct {
}
func (o *Object) GetName() string {
return o.Name
return utils.MappingName(o.Name)
}
func (o *Object) GetSize() int64 {