fix(cloudreve): use milliseconds timestamp in last_modified (#8133)
This commit is contained in:
parent
370a6c15a9
commit
5dfea714d8
@ -149,7 +149,7 @@ func (d *Cloudreve) Put(ctx context.Context, dstDir model.Obj, stream model.File
|
|||||||
"size": stream.GetSize(),
|
"size": stream.GetSize(),
|
||||||
"name": stream.GetName(),
|
"name": stream.GetName(),
|
||||||
"policy_id": r.Policy.Id,
|
"policy_id": r.Policy.Id,
|
||||||
"last_modified": stream.ModTime().Unix(),
|
"last_modified": stream.ModTime().UnixMilli(),
|
||||||
}
|
}
|
||||||
|
|
||||||
// 获取上传会话信息
|
// 获取上传会话信息
|
||||||
|
Loading…
x
Reference in New Issue
Block a user