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

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

Warning: Undefined property: stdClass::$ticket in /www/wwwroot/yc.jzgczz.com/api/wxapi/JSSDK.php on line 61
wx.config({ //debug: true, appId: 'wxb2d9c5673f74f0c6', timestamp: 1743979713, nonceStr: 'zUPGliTy7jS0wxEu', signature: '60dae18dfb1f2fd2534b7c9ed811d6a33bf4ac65', jsApiList: [ "onMenuShareTimeline", "onMenuShareAppMessage", ] }); wx.ready(function () { var wxCallbacks = { // 分享操作开始之前 title: '万荣县委副书记、县长李永辉主持召开全县交通城建及绿化项目复工开工专题会', // 分享标题fxtitle link: 'http://yc.jzgczz.com/infos/71122.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) });