fix: mapping filename in GetName
some missed filename mapping
This commit is contained in:
@ -5,6 +5,7 @@ import (
|
||||
"time"
|
||||
|
||||
"github.com/alist-org/alist/v3/internal/model"
|
||||
"github.com/alist-org/alist/v3/pkg/utils"
|
||||
)
|
||||
|
||||
//type BaseResp struct {
|
||||
@ -39,7 +40,7 @@ func (f File) GetSize() int64 {
|
||||
}
|
||||
|
||||
func (f File) GetName() string {
|
||||
return f.FileName
|
||||
return utils.MappingName(f.FileName)
|
||||
}
|
||||
|
||||
func (f File) ModTime() time.Time {
|
||||
|
Reference in New Issue
Block a user