Browse Source

Merge branch 'dm' of http://8.136.199.33:3000/eta_gn_server/eta_api into dm

zqbao 5 months ago
parent
commit
c5193ce5b9
1 changed files with 2 additions and 2 deletions
  1. 2 2
      controllers/speech_recognition/speech_recognition.go

+ 2 - 2
controllers/speech_recognition/speech_recognition.go

@@ -306,12 +306,12 @@ func (this *SpeechRecognitionController) Save() {
 		br.ErrMsg = fmt.Sprintf("参数有误, SpeechRecognitionId: %d", req.SpeechRecognitionId)
 		return
 	}
-	if len(req.Contents) == 0 {
+	/*if len(req.Contents) == 0 {
 		br.Ret = 200
 		br.Success = true
 		br.Msg = "操作成功"
 		return
-	}
+	}*/
 	req.FileName = strings.TrimSpace(req.FileName)
 	if req.FileName == "" {
 		br.Msg = "请输入文件名称"