Przeglądaj źródła

fix: 语音识别导出

hsun 1 rok temu
rodzic
commit
c27037f8ae

+ 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()