Преглед на файлове

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

hsun преди 1 година
родител
ревизия
24dd3c9626
променени са 1 файла, в които са добавени 2 реда и са изтрити 0 реда
  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 = "操作成功"