We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7398e7d commit c91113dCopy full SHA for c91113d
drivers/baidu_netdisk/types.go
@@ -7,7 +7,6 @@ import (
7
"time"
8
9
"github.com/OpenListTeam/OpenList/v4/internal/model"
10
- "github.com/OpenListTeam/OpenList/v4/pkg/utils"
11
)
12
13
var (
@@ -76,9 +75,7 @@ func fileToObj(f File) *model.ObjThumb {
76
75
Modified: time.Unix(f.ServerMtime, 0),
77
Ctime: time.Unix(f.ServerCtime, 0),
78
IsFolder: f.Isdir == 1,
79
-
80
- // 直接获取的MD5是错误的
81
- HashInfo: utils.NewHashInfo(utils.MD5, DecryptMd5(f.Md5)),
+ // 百度API返回的MD5不可信,不使用HashInfo
82
},
83
Thumbnail: model.Thumbnail{Thumbnail: f.Thumbs.Url3},
84
}
0 commit comments