Browse Source

fix: 语音识别-新增标签返回ID

hsun 11 months ago
parent
commit
24dd3c9626
1 changed files with 2 additions and 0 deletions
  1. 2 0
      controllers/speech_recognition/speech_recognition_tag.go

+ 2 - 0
controllers/speech_recognition/speech_recognition_tag.go

@@ -92,6 +92,7 @@ func (this *SpeechRecognitionTagController) Add() {
 		return
 	}
 
+	br.Data = tagOb.SpeechRecognitionTagId
 	br.Ret = 200
 	br.Success = true
 	br.Msg = "操作成功"
@@ -174,6 +175,7 @@ func (this *SpeechRecognitionTagController) Edit() {
 		return
 	}
 
+	br.Data = tagItem.SpeechRecognitionTagId
 	br.Ret = 200
 	br.Success = true
 	br.Msg = "操作成功"