Browse Source

fix-bug

tags/V1.22.3.1^2
liuzx 3 years ago
parent
commit
5a3a44bf02
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      routers/repo/modelarts.go

+ 1
- 1
routers/repo/modelarts.go View File

@@ -2210,7 +2210,7 @@ func DownloadMultiResultFile(ctx *context.Context) {
//count++
// models.ModifyModelDownloadCount(id)

returnFileName := task.JobName + ".zip"
returnFileName := task.DisplayJobName + ".zip"
ctx.Resp.Header().Set("Content-Disposition", "attachment; filename="+returnFileName)
ctx.Resp.Header().Set("Content-Type", "application/octet-stream")
w := zip.NewWriter(ctx.Resp)


Loading…
Cancel
Save