Browse Source

提交代码。

Signed-off-by: zouap <zouap@pcl.ac.cn>
tags/v1.22.11.2^2
zouap 3 years ago
parent
commit
2b1d1de798
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      routers/repo/attachment_model.go

+ 1
- 0
routers/repo/attachment_model.go View File

@@ -270,6 +270,7 @@ func NewModelMultipart(ctx *context.Context) {
return return
} }
} else { } else {

objectName = strings.TrimPrefix(path.Join(Model_prefix, path.Join(modeluuid[0:1], modeluuid[1:2], modeluuid, fileName)), "/") objectName = strings.TrimPrefix(path.Join(Model_prefix, path.Join(modeluuid[0:1], modeluuid[1:2], modeluuid, fileName)), "/")
uploadID, err = storage.NewObsMultiPartUpload(objectName) uploadID, err = storage.NewObsMultiPartUpload(objectName)
if err != nil { if err != nil {


Loading…
Cancel
Save