收藏
回答

报告一个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

回答关注问题邀请回答
收藏

2 个回答

  • 光辉岁月
    光辉岁月
    2020-03-21

    之前有anchor_img的,今天有问题我一查发现变成share_img了

    2020-03-21
    有用
    回复
  • 喵喵侠
    喵喵侠
    2020-03-20

    果然还是文档错别字……

    2020-03-20
    有用
    回复
登录 后发表内容
问题标签