Explorar o código

Merge branch 'feature/eta_1.6.9' into debug

hsun hai 1 ano
pai
achega
d45618dbdd
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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()