getShareInfo 始终是失败的
//转发 onShareAppMessage: function () { return { title: '抽奖大转盘' , path: '/pages/canvas/canvas' , success: function (res) { // 转发成功 var shareTickets = res.shareTickets; var shareTicket = shareTickets; wx.getShareInfo({ shareTicket: shareTicket, success: function (res) { console.log( 'success' ); console.log(res); //console.log(res); wx.showToast({ title: '转发成功' , duration: 5000 }) }, fail: function (res) { console.log( 'fail' ); console.log(res); wx.showToast({ title: 'fail:' + res.errMsg, duration: 5000 }) } }); }, fail: function (res) { // 转发失败 } } }, |
怎么调用都是失败 ticket都打印出来了 为什么还是失败也没有状态码