Commit db1b0c50 authored by 赵文静's avatar 赵文静

先屏蔽新闻相关

parent 93e6ff26
...@@ -248,7 +248,7 @@ func ancientpoemDomain(params *model.SpeechDomainParams) []byte { ...@@ -248,7 +248,7 @@ func ancientpoemDomain(params *model.SpeechDomainParams) []byte {
res.ListItems = append(res.ListItems, map[string]interface{}{ res.ListItems = append(res.ListItems, map[string]interface{}{
"content": params.SpeechWsResp.Dm.Widget.Extra.ContentTranslation, "content": params.SpeechWsResp.Dm.Widget.Extra.ContentTranslation,
"title": params.SpeechWsResp.Dm.Widget.Extra.Title, "title": params.SpeechWsResp.Dm.Widget.Extra.Title,
"type": params.SpeechWsResp.Dm.Widget.Type, //原来是 TEXT,看看是否能播放 "type": "TEXT", //原来是 TEXT,看看是否能播放
"url": "", "url": "",
"mediaId": "", "mediaId": "",
}) })
...@@ -294,7 +294,7 @@ func ancientpoemDomain(params *model.SpeechDomainParams) []byte { ...@@ -294,7 +294,7 @@ func ancientpoemDomain(params *model.SpeechDomainParams) []byte {
"author": con.Author, "author": con.Author,
"dynasty": con.Extra.Dynasty, "dynasty": con.Extra.Dynasty,
"mediaId": "", "mediaId": "",
"type": params.SpeechWsResp.Dm.Widget.Type, //原来是 AUDIO,看看是否能播放 "type": "AUDIO", //原来是 AUDIO,看看是否能播放
}) })
} }
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment