小程序直播创建直播返回空?

小程序直播创建直播返回空?

服务端的小程序直播创建接口调用后返回为空,什么也没有,其他的小程序相同的调用也是可以的,postman测试也是返回空

After calling the server side applet live creation interface, it returns null, nothing. The same call of other applets is also OK, and the postman test also returns null

回答:

小程序技术专员-Const:

你好,麻烦提供一下请求参数详细,我们核实一下。

罗立树(charles luo):https://api.weixin.qq.com/wxaapi/broadcastoom/create?access_token=35_eMXxYHBLvqGCDcRNlkIjVCq58Gzb0gvx6bXb2GEcpUa0fNYDM7twA-GivktVS_nxKP249tE5VRu40-FQbWIpIYoJ3b2-Tuoe_ISiNFM9h_FHXaChYKsldfDKMsdE71x1QWnG82ADRmCKtNHRLJTbAEABZJ


{"name":"测试直播","coverImg":"qs_ilYgUE3bq7zcOHwEkdrYKQroyVnt2uHYKOmuSfrwfa5HJ0PJpcPqa1MPKPlw1","startTime":1596176640,"endTime":1599027840,"anchorName":"罗先生","anchorWechat":"noaper2019","shareImg":"O_1WrUK5L9nmB38Ic-A5mhiNt9YtViA0Hkoj-nOWCFWME9PapcQoBCC0vuyn6FCr","type":0,"screenType":0,"closeLike":0,"closeGoods":0,"closeComment":0}
罗立树(charles luo):你们代码应该有一个逻辑判断分支写错了,什么情况下什么内容都没有返回,时间改一下就有返回
罗立树(charles luo):

https://api.weixin.qq.com/wxaapi/broadcastoom/create?access_token=35_eMXxYHBLvqGCDcRNlkIjVCq58Gzb0gvx6bXb2GEcpUa0fNYDM7twA-GivktVS_nxKP249tE5VRu40-FQbWIpIYoJ3b2-Tuoe_ISiNFM9h_FHXaChYKsldfDKMsdE71x1QWnG82ADRmCKtNHRLJTbAEABZJ

{"name":"测试直播","coverImg":"qs_ilYgUE3bq7zcOHwEkdrYKQroyVnt2uHYKOmuSfrwfa5HJ0PJpcPqa1MPKPlw1","startTime":1596176640,"endTime":1599027840,"anchorName":"罗先生","anchorWechat":"noaper2019","shareImg":"O_1WrUK5L9nmB38Ic-A5mhiNt9YtViA0Hkoj-nOWCFWME9PapcQoBCC0vuyn6FCr","type":0,"screenType":0,"closeLike":0,"closeGoods":0,"closeComment":0}

-EOF-