fix(doubao): update file size type to int64 (#8289)

This commit is contained in:
MadDogOwner
2025-04-03 20:34:27 +08:00
committed by GitHub
parent e4bd223d1c
commit 37640221c0
2 changed files with 6 additions and 6 deletions

View File

@ -55,9 +55,9 @@ func (d *Doubao) List(ctx context.Context, dir model.Obj, args model.ListArgs) (
ID: child.ID,
Path: child.ParentID,
Name: child.Name,
Size: int64(child.Size),
Modified: time.Unix(int64(child.UpdateTime), 0),
Ctime: time.Unix(int64(child.CreateTime), 0),
Size: child.Size,
Modified: time.Unix(child.UpdateTime, 0),
Ctime: time.Unix(child.CreateTime, 0),
IsFolder: child.NodeType == 1,
},
Key: child.Key,