From db1b0c50521ecefe319d97e8a5b46af9c6cf8d9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E6=96=87=E9=9D=99?= <1319697849@qq.com> Date: Mon, 19 May 2025 16:59:51 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=88=E5=B1=8F=E8=94=BD=E6=96=B0=E9=97=BB?= =?UTF-8?q?=E7=9B=B8=E5=85=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- service/speechNlu/domain.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/service/speechNlu/domain.go b/service/speechNlu/domain.go index 80c7d9f..58ed995 100644 --- a/service/speechNlu/domain.go +++ b/service/speechNlu/domain.go @@ -248,7 +248,7 @@ func ancientpoemDomain(params *model.SpeechDomainParams) []byte { res.ListItems = append(res.ListItems, map[string]interface{}{ "content": params.SpeechWsResp.Dm.Widget.Extra.ContentTranslation, "title": params.SpeechWsResp.Dm.Widget.Extra.Title, - "type": params.SpeechWsResp.Dm.Widget.Type, //原来是 TEXT,看看是否能播放 + "type": "TEXT", //原来是 TEXT,看看是否能播放 "url": "", "mediaId": "", }) @@ -294,7 +294,7 @@ func ancientpoemDomain(params *model.SpeechDomainParams) []byte { "author": con.Author, "dynasty": con.Extra.Dynasty, "mediaId": "", - "type": params.SpeechWsResp.Dm.Widget.Type, //原来是 AUDIO,看看是否能播放 + "type": "AUDIO", //原来是 AUDIO,看看是否能播放 }) } } -- GitLab