Browse Source

提交代码。

Signed-off-by: zouap <zouap@pcl.ac.cn>
pull/2480/head
zouap 3 years ago
parent
commit
d9dc7213fd
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      routers/repo/ai_model_manage.go

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

@@ -326,6 +326,7 @@ func MinioDownloadManyFile(path string, ctx *context.Context, returnFileName str
ctx.ServerError("download file failed:", err) ctx.ServerError("download file failed:", err)
return return
} }
log.Info("minio file path=" + (path + oneFile.FileName))
body, err := storage.Attachments.Open(path + oneFile.FileName) body, err := storage.Attachments.Open(path + oneFile.FileName)
if err != nil { if err != nil {
log.Info("download file failed: %s\n", err.Error()) log.Info("download file failed: %s\n", err.Error())


Loading…
Cancel
Save