From 87e590ae256e93b0bbc6ebaedb36826bac6ecfa6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E6=96=87=E9=9D=99?= <1319697849@qq.com> Date: Fri, 13 Jun 2025 15:58:53 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- c2c.http | 2 +- service/speechNlu/speechWs.go | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/c2c.http b/c2c.http index fc53364..1af5335 100644 --- a/c2c.http +++ b/c2c.http @@ -33,7 +33,7 @@ Content-Type: application/json }, "nluRet": { "asr_recongize": "", - "text": "暂停播放" + "text": "讲个笑话" } }, "version": "v0" diff --git a/service/speechNlu/speechWs.go b/service/speechNlu/speechWs.go index 29ab516..6c63576 100644 --- a/service/speechNlu/speechWs.go +++ b/service/speechNlu/speechWs.go @@ -44,6 +44,9 @@ func (s *SpeechNlpWs) SpeechWs(ip, deviceId string) (*websocket.Conn, error) { }).Errorf("[SpeechWs] Connect error : %v", err.Error()) return nil, err } + global.Logger.WithFields(logger.Fields{ + "url": SpeechUrl, + }).Errorf("[SpeechWs] Connect") return conn, nil } -- GitLab