Browse Source

Merge branch 'feature/eta_1.6.9' into debug

hsun 1 year ago
parent
commit
d45618dbdd
1 changed files with 1 additions and 1 deletions
  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()