1$(function () { 2 var query = new Object(); 3 var title = document.title; 4 //var description = $('[name=description]').attr('content') || 'ãå ±åæ¢¦æ³ãâä¸å¸¦ä¸è·¯âæ äºä¸ä¹¦'; 5 var description = $('[name=Description]').attr('content'); 6 var urll = location.href.split('#')[0]; //页é¢url#åç宿´url,å¯alertå¼¹åºæ¥ç 7 query.urll = $.trim(urll); 8 query.post_type = "json"; 9 var wxOption = { 10 title: title, 11 desc: description, 12 link: urll, 13 imgUrl: 'https://www.mofcom.gov.cn/cms_files/filemanager/1077459795/picture/20246/ab2997bb194940e0ba501a997bdb985c.png', 14 success: function () { 15 16 } 17 } 18 $.ajax({ 19 url: 'https://webchat.mofcom.gov.cn/weixin/weixinCore/getWeixinInfoCallback?url=' + urll, 20 data: query, 21 type: "get", 22 dataType: "jsonp", 23 success: function (ress) { 24 //æ§è¡JS_SDK 25 wx.config({ 26 debug: false, 27 appId: "wx7c3f9a923e24840c", // å¿ å¡«ï¼å ¬ä¼å·çå¯ä¸æ è¯ 28 timestamp: ress.timestamp, 29 nonceStr: ress.nonceStr, 30 signature: ress.signature, 31 jsApiList: [ 32 'updateAppMessageShareData', 33 'updateTimelineShareData' 34 ] // å¿ å¡«ï¼éè¦ä½¿ç¨çJSæ¥å£åè¡¨ï¼ææJSæ¥å£å表è§éå½2ï¼éè¦ä½¿ç¨çJSæ¥å£åè¡¨ï¼ææJSæ¥å£å表è§éå½2 35 }), 36 wx.ready(function () { 37 wx.updateAppMessageShareData(wxOption); //âåäº«ç»æåâåâå享å°QQâ 38 wx.updateTimelineShareData(wxOption); //åäº«å°æååâåâå享å°QQ空é´â 39 }), 40 wx.error(function (res) { 41 }); 42 }, error: function (XMLHttpRequest, textStatus, errorThrown) { 43 console.log(XMLHttpRequest.status); 44 console.log(XMLHttpRequest.readyState); 45 console.log(textStatus); 46 } 47 }); 48})
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.