@@ -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 = "操作成功"
- }
+ }*/
req.FileName = strings.TrimSpace(req.FileName)
if req.FileName == "" {
br.Msg = "请输入文件名称"