Warning: session_start(): open(/tmp/sess_4dl6v82puis6et2cg7vcnek802, O_RDWR) failed: No space left on device (28) in /www/wwwroot/touzib.com/conn/conn.php on line 4
Warning: session_start(): Failed to read session data: files (path: ) in /www/wwwroot/touzib.com/conn/conn.php on line 4
$.ajax({
url: "conn/fahuo100.php?action=jssdk",
type: 'post',
data: { url: location.href.split('#')[0],action:"jssdk",pagetype:"news",pageid:"7" },
success:function(res){
res=JSON.parse(res);
wx.config({
debug: false,
appId: res.appid,
timestamp: res.timestamp,
nonceStr: res.nonceStr,
signature: res.signature,
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ'
]
});
wx.ready(function () {
var shareData = {
title: document.title,
desc: getDesc(),
link: res.url,
imgUrl: res.img
};
wx.onMenuShareAppMessage(shareData);
wx.onMenuShareTimeline(shareData);
wx.onMenuShareQQ(shareData);
});
wx.error(function (res) {
});
}
});
function getDesc() {
var meta = document.getElementsByTagName("meta");
for (var i=0;i