Parcourir la source

download file by attach model

yinbangzhong il y a 2 ans
Parent
commit
a5429b8a83
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      controllers/audio.go

+ 1 - 1
controllers/audio.go

@@ -113,7 +113,7 @@ func (slf AudioCtl) Upload(c *gin.Context) {
 		util.ResponseFormat(c, code.SaveFail, "上传失败")
 		return
 	} else {
-		util.ResponseFormat(c, code.SaveFail, "上传成功")
+		util.ResponseFormat(c, code.Success, "上传成功")
 		return
 	}
 	go func() {