fix(cloudreve): use milliseconds timestamp in last_modified (#8133)

This commit is contained in:
MadDogOwner 2025-03-15 00:12:15 +08:00 committed by GitHub
parent 370a6c15a9
commit 5dfea714d8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -149,7 +149,7 @@ func (d *Cloudreve) Put(ctx context.Context, dstDir model.Obj, stream model.File
"size": stream.GetSize(),
"name": stream.GetName(),
"policy_id": r.Policy.Id,
"last_modified": stream.ModTime().Unix(),
"last_modified": stream.ModTime().UnixMilli(),
}
// 获取上传会话信息