Ver código fonte

download file by attach model

yinbangzhong 2 anos atrás
pai
commit
a5429b8a83
1 arquivos alterados com 1 adições e 1 exclusões
  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() {