Commit 884c87e6 authored by 赵文静's avatar 赵文静

修改新闻播放

parent 2e1f8139
Pipeline #5252 passed with stage
in 0 seconds
......@@ -111,6 +111,7 @@ type Content struct {
Extra struct {
Dynasty string `json:"dynasty"`
ResType string `json:"resType"`
Source string `json:"source"`
} `json:"extra"`
}
......
......@@ -220,8 +220,8 @@ func newsDomain(params *model.SpeechDomainParams) []byte {
res.ListItems = append(res.ListItems, map[string]interface{}{
"url": con.LinkUrl,
"title": con.Title,
"newsFrom": "",
"newsType": "",
"newsFrom": con.Extra.Source,
//"newsType": "",
})
}
......
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