浏览代码

Merge branch 'feature/eta_1.6.9' into debug

hsun 1 年之前
父节点
当前提交
d45618dbdd
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      controllers/speech_recognition/speech_recognition.go

+ 1 - 1
controllers/speech_recognition/speech_recognition.go

@@ -953,7 +953,7 @@ func (this *SpeechRecognitionController) Export() {
 		br.Ret = 408
 		return
 	}
-	var req speech_recognition.SpeechRecognitionContentExportReq
+	req := new(speech_recognition.SpeechRecognitionContentExportReq)
 	if e := this.ParseForm(req); e != nil {
 		br.Msg = "参数有误"
 		br.ErrMsg = "参数解析失败, Err: " + e.Error()