wx.config({
debug: false,
appId: 'wxc21c30f8ad8316ef',
timestamp: 1744616301,
nonceStr: 'Wm3WZYTPz0wzccnW',
signature: 'a414d8c14669cc43bf6c5935ba949a2f9c07f1d8',
jsApiList: ['onMenuShareTimeline','onMenuShareAppMessage','scanQRCode','startRecord','stopRecord','onVoiceRecordEnd','playVoice','uploadVoice','downloadVoice']
});
wx.ready(function () {
wx.onMenuShareTimeline({
title: desc,
link: link,
imgUrl: imgUrl,
success: function () {
try {
if (typeof(eval("ShareTimelineSuccess")) == "function") {
ShareFriendSuccess();
}
} catch(e) {}
},
cancel: function () {
try {
if (typeof(eval("ShareTimelineCancel")) == "function") {
ShareFriendCancel();
}
} catch(e) {}
}
});
wx.onMenuShareAppMessage({
title: title,
desc: desc,
link: link,
imgUrl: imgUrl,
type: 'link',
dataUrl: '',
success: function () {
try {
if (typeof(eval("ShareFriendSuccess")) == "function") {
ShareFriendSuccess();
}
} catch(e) {}
},
cancel: function () {
try {
if (typeof(eval("ShareFriendCancel")) == "function") {
ShareFriendCancel();
}
} catch(e) {}
}
});
});