Compare commits
2 Commits
d29693343b
...
c423211cb6
| Author | SHA1 | Date | |
|---|---|---|---|
| c423211cb6 | |||
| d2ba827829 |
@@ -15,9 +15,9 @@ MicroService:
|
|||||||
- files.ping.hello
|
- files.ping.hello
|
||||||
|
|
||||||
ServiceClients:
|
ServiceClients:
|
||||||
assets: ops-assets
|
assets: ${ASSETS_FILES_SECRET}
|
||||||
dc-control: ops-dc-control
|
dc-control: ${DC_CONTROL_FILES_SECRET}
|
||||||
visual: ops-visual
|
visual: ${VISUAL_FILES_SECRET}
|
||||||
|
|
||||||
ObjectStorage:
|
ObjectStorage:
|
||||||
Provider: aliyun
|
Provider: aliyun
|
||||||
|
|||||||
@@ -15,9 +15,9 @@ MicroService:
|
|||||||
- files.ping.hello
|
- files.ping.hello
|
||||||
|
|
||||||
ServiceClients:
|
ServiceClients:
|
||||||
assets: ops-assets
|
assets: ${ASSETS_FILES_SECRET}
|
||||||
dc-control: ops-dc-control
|
dc-control: ${DC_CONTROL_FILES_SECRET}
|
||||||
visual: ops-visual
|
visual: ${VISUAL_FILES_SECRET}
|
||||||
|
|
||||||
ObjectStorage:
|
ObjectStorage:
|
||||||
Provider: aliyun
|
Provider: aliyun
|
||||||
|
|||||||
@@ -15,9 +15,9 @@ MicroService:
|
|||||||
- files.ping.hello
|
- files.ping.hello
|
||||||
|
|
||||||
ServiceClients:
|
ServiceClients:
|
||||||
assets: ops-assets
|
assets: ${ASSETS_FILES_SECRET}
|
||||||
dc-control: ops-dc-control
|
dc-control: ${DC_CONTROL_FILES_SECRET}
|
||||||
visual: ops-visual
|
visual: ${VISUAL_FILES_SECRET}
|
||||||
|
|
||||||
ObjectStorage:
|
ObjectStorage:
|
||||||
Provider: aliyun
|
Provider: aliyun
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ func CompleteUpload(ctx *gin.Context) {
|
|||||||
Updates(map[string]any{
|
Updates(map[string]any{
|
||||||
"status": models.FileStatusReady,
|
"status": models.FileStatusReady,
|
||||||
"actual_size": objectInfo.Size,
|
"actual_size": objectInfo.Size,
|
||||||
"etag": objectInfo.ETag,
|
"e_tag": objectInfo.ETag,
|
||||||
"completed_at": completedAt,
|
"completed_at": completedAt,
|
||||||
})
|
})
|
||||||
if result.Error != nil {
|
if result.Error != nil {
|
||||||
|
|||||||
Reference in New Issue
Block a user