From 3e872e4ed43c960c76b2a6a3ae6cd65bc5c30379 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E6=96=87=E9=9D=99?= <1319697849@qq.com> Date: Thu, 22 May 2025 16:40:45 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A5=E5=85=85=E6=96=B0=E9=97=BB=E4=B8=8B?= =?UTF-8?q?=E5=8F=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- model/speech.go | 1 + service/speechNlu/domain.go | 1 + 2 files changed, 2 insertions(+) diff --git a/model/speech.go b/model/speech.go index 3294017..c0ed486 100644 --- a/model/speech.go +++ b/model/speech.go @@ -112,6 +112,7 @@ type Content struct { Dynasty string `json:"dynasty"` ResType string `json:"resType"` Source string `json:"source"` + NewsId string `json:"news_id"` } `json:"extra"` } diff --git a/service/speechNlu/domain.go b/service/speechNlu/domain.go index 7477b87..dda4466 100644 --- a/service/speechNlu/domain.go +++ b/service/speechNlu/domain.go @@ -221,6 +221,7 @@ func newsDomain(params *model.SpeechDomainParams) []byte { "url": con.LinkUrl, "title": con.Title, "newsFrom": con.Extra.Source, + "mediaId": con.Extra.NewsId, //"newsType": "", }) } -- GitLab