cation.href;if(_href_.indexOf('?')>-1){_href_=_href_+'&sid=772'}else{_href_=_href_+'?sid=772'}wx.ready(fun(res){varsharedata={title:'红薯',desc:'红薯',link:_href_,//分享链接imgUrl:'https://img2.hongshu./Public/t/html5/1.3.5/images/sharei.png',//分享图标type:'',//分享类型,music、video或link,不填默认为linkdataUrl:'',//如果type是music或video,则要提供数据链接,默认为空success:fun(){//用户确认分享后执行的回调函数.ajax({url:"/choujiangajax/getfenxiang.do",type:"POST",data:'',success:fun(json){if(json.url){hg_gotoUrl(json.url);}else{window.location.reload();}}})},cel:fun(){//用户取消分享后执行的回调函数sole.log('cel');}};wx.onMenuShareAppMessage(sharedata);wx.
本章还未完,请点击下一页继续阅读>>>