Deprecated: Creation of dynamic property JSSDK::$url is deprecated in /www/wwwroot/n.jzgczz.com/public/api/wxapi/JSSDK.php on line 13
Warning: Undefined property: stdClass::$access_token in /www/wwwroot/n.jzgczz.com/public/api/wxapi/JSSDK.php on line 85
Warning: Undefined property: stdClass::$ticket in /www/wwwroot/n.jzgczz.com/public/api/wxapi/JSSDK.php on line 61
wx.config({
//debug: true,
appId: 'wxb2d9c5673f74f0c6',
timestamp: 1738279844,
nonceStr: 'E4L66B4UnSFbqyTE',
signature: 'b74f711eaba8459fca928b9d252a369e0fedc393',
jsApiList: [
"onMenuShareTimeline",
"onMenuShareAppMessage",
]
});
wx.ready(function () {
var wxCallbacks = {
// 分享操作开始之前
title: '电梯噪声影响业主休息 法院判决开发商赔偿', // 分享标题fxtitle
link: 'http://www.jzgczz.com/infos/34272.html', //location.href, // 分享链接
desc: '', // 分享描述
imgUrl: '/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)
});