Commit 4dd48a97 authored by 赵文静's avatar 赵文静

修改type和以前一致

parent 784233fa
......@@ -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": "",
})
......@@ -287,7 +287,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,看看是否能播放
})
}
}
......
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