Deprecated: Creation of dynamic property JSSDK::$url is deprecated in /www/wwwroot/lf.jzgczz.com/api/wxapi/JSSDK.php on line 13

Warning: Undefined property: stdClass::$access_token in /www/wwwroot/lf.jzgczz.com/api/wxapi/JSSDK.php on line 85

Warning: Undefined property: stdClass::$ticket in /www/wwwroot/lf.jzgczz.com/api/wxapi/JSSDK.php on line 61
wx.config({ //debug: true, appId: 'wxb2d9c5673f74f0c6', timestamp: 1743936136, nonceStr: 'eCOYQZuHFVacioLt', signature: '49be46e0ca1fc94889ebee8e86b3eee1676ef860', jsApiList: [ "onMenuShareTimeline", "onMenuShareAppMessage", ] }); wx.ready(function () { var wxCallbacks = { // 分享操作开始之前 title: '【新春走基层】洪洞大槐树寻根祭祖园景区民俗中国年邀您一起寻根古槐 回归年味', // 分享标题fxtitle link: 'http://lf.jzgczz.com/infos/92932.html', //location.href, // 分享链接 desc: '', // 分享描述 imgUrl: 'http://www.jzgczz.com/api/qr/favicon.png', // 分享图标 type: '', // 分享类型,music、video或link,不填默认为link dataUrl: '', // 如果type是music或video,则要提供数据链接,默认为空 success: function () { }, cancel: function () { } }; //分享到朋友圈 wx.onMenuShareTimeline(wxCallbacks); //分享给单个朋友 wx.onMenuShareAppMessage(wxCallbacks); console.log('wx ready'); }); wx.error(function (res) { console.log('err', res) });