|
分享到: 鳳凰新媒體介紹 投資者關係 Investor Relations 廣告服務 誠征英才 保護隱俬權 免責條款 意見反餽 鳳凰衛視介紹 鳳凰新媒體 版權所有 Copyright ? 2016 Phoenix New Media Limited All Rights Reserved.
requirejs.config({ paths: { "jweixin": "" }, waitSeconds: 20, shim: {} }); require(['jquery#1.8.1', 'detail', 'jweixin'], function($, detail,外遇, wx){ $.ajax({ url: '', type: 'get', dataType: 'jsonp', callback: 'wxshareCallback', data: { url: window.location.href }, success: function (msg) { wx.config({ debug: false, //值為true時進入debug模式,可以打出狀態值 appId: msg.appId, timestamp: msg.timestamp, nonceStr: msg.nonceStr, signature: msg.signature, jsApiList: ['onMenuShareTimeline','onMenuShareAppMessage','onMenuShareQQ',峨眉抽水肥,'onMenuShareWeibo' // 所有要調用的 API 都要加到這個列表中 ] }); wx.ready(function () { wx.checkJsApi({ jsApiList: ['onMenuShareTimeline','onMenuShareAppMessage','onMenuShareQQ',援交,'onMenuShareWeibo'], // 需要檢測的JS接口列表,所有JS接口列表見附錄2, success: function(res) { // 以鍵值對的形式返回,可用的api值true,不可用為false |
|