fix: 修复 OSS 上传完成状态更新

This commit is contained in:
zxr
2026-08-04 01:02:40 +08:00
parent d29693343b
commit d2ba827829

View File

@@ -41,7 +41,7 @@ func CompleteUpload(ctx *gin.Context) {
Updates(map[string]any{
"status": models.FileStatusReady,
"actual_size": objectInfo.Size,
"etag": objectInfo.ETag,
"e_tag": objectInfo.ETag,
"completed_at": completedAt,
})
if result.Error != nil {