Commit 3e872e4e authored by 赵文静's avatar 赵文静

补充新闻下发

parent 2245c725
Pipeline #5263 passed with stage
in 0 seconds
......@@ -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"`
}
......
......@@ -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": "",
})
}
......
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