Browse Source

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

hsun 1 năm trước cách đây
mục cha
commit
24dd3c9626
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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 = "操作成功"