Compare commits
2 Commits
d29693343b
...
c423211cb6
| Author | SHA1 | Date | |
|---|---|---|---|
| c423211cb6 | |||
| d2ba827829 |
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user