报告一个BUG
https://developers.weixin.qq.com/miniprogram/dev/framework/liveplayer/live-player-plugin.html
小程序直播文档说明与实际JSON数据不符
{
"errcode": 0, // errcode = 0 代表成功;errcode = 1 代表未创建直播房间
"errmsg": "ok",
"room_info": [{
"name": "直播房间名",
"roomid": 1,
"cover_img": "http:\/\/mmbiz.qpic.cn\/mmbiz_jpg\/Rl1RuuhdstSfZa8EEljedAYcbtX3Ejpdl2et1tPAQ37bdicnxoVialDLCKKDcPBy8Iic0kCiaiaalXg3EbpNKoicrweQ\/0?wx_fmt=jpeg",
"live_satus": 101,
"start_time": 1568128900,
"end_time": 1568131200,
"anchor_name": "李四",
"anchor_img": "http:\/\/mmbiz.qpic.cn\/mmbiz_jpg\/Rl1RuuhdstSfZa8EEljedAYcbtX3Ejpdlp0sf9YTorOzUbGF9Eib6ic54k9fX0xreAIt35HCeiakO04yCwymoKTjw\/0?wx_fmt=jpeg",
"goods": [
{
"cover_img": "http://mmbiz.qpic.cn/mmbiz_png/FVribAGdErI2PmyST9ZM0JLbNM48I7TH2FlrwYOlnYqGaej8qKubG1EvK0QIkkwqvicrYTzVtjKmSZSeY5ianc3mw/0?wx_fmt=png",
"url": "pages/index/index.html",
"price": 1100,
"name": "fdgfgf"
}
],
"total": 1
}
1)返回JSON中是 live_status 文档是 live_satus;
2)返回JSON中不包含 anchor_img