Selaa lähdekoodia

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

hsun 1 vuosi sitten
vanhempi
commit
24dd3c9626
1 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa
  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 = "操作成功"