Compare commits

...

2 Commits

Author SHA1 Message Date
zxr
c423211cb6 chore: 使用环境变量管理服务密钥 2026-08-04 15:47:52 +08:00
zxr
d2ba827829 fix: 修复 OSS 上传完成状态更新 2026-08-04 01:02:40 +08:00
4 changed files with 10 additions and 10 deletions

View File

@@ -15,9 +15,9 @@ MicroService:
- files.ping.hello
ServiceClients:
assets: ops-assets
dc-control: ops-dc-control
visual: ops-visual
assets: ${ASSETS_FILES_SECRET}
dc-control: ${DC_CONTROL_FILES_SECRET}
visual: ${VISUAL_FILES_SECRET}
ObjectStorage:
Provider: aliyun

View File

@@ -15,9 +15,9 @@ MicroService:
- files.ping.hello
ServiceClients:
assets: ops-assets
dc-control: ops-dc-control
visual: ops-visual
assets: ${ASSETS_FILES_SECRET}
dc-control: ${DC_CONTROL_FILES_SECRET}
visual: ${VISUAL_FILES_SECRET}
ObjectStorage:
Provider: aliyun

View File

@@ -15,9 +15,9 @@ MicroService:
- files.ping.hello
ServiceClients:
assets: ops-assets
dc-control: ops-dc-control
visual: ops-visual
assets: ${ASSETS_FILES_SECRET}
dc-control: ${DC_CONTROL_FILES_SECRET}
visual: ${VISUAL_FILES_SECRET}
ObjectStorage:
Provider: aliyun

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 {