🐛 fix #397 139yun file size overflow int32

This commit is contained in:
微凉
2022-01-20 20:35:01 +08:00
parent 2ad27046fb
commit 4144afcc92
3 changed files with 37 additions and 37 deletions

View File

@ -136,7 +136,7 @@ func (driver Cloud139) GetFiles(catalogID string, account *model.Account) ([]mod
f := model.File{
Id: content.ContentID,
Name: content.ContentName,
Size: int64(content.ContentSize),
Size: content.ContentSize,
Type: utils.GetFileType(path.Ext(content.ContentName)),
Driver: driver.Config().Name,
UpdatedAt: getTime(content.UpdateTime),