12345678910111213141516 |
- <script>
- var apiList = new Array();
- apiList = ['onMenuShareTimeline','onMenuShareAppMessage','onMenuShareQQ','onMenuShareWeibo','onMenuShareQZone','startRecord','stopRecord','onVoiceRecordEnd','playVoice','pauseVoice','stopVoice','onVoicePlayEnd','uploadVoice','downloadVoice','chooseImage','previewImage','uploadImage','downloadImage','translateVoice','getNetworkType','openLocation','getLocation','hideOptionMenu','showOptionMenu','hideMenuItems','showMenuItems','hideAllNonBaseMenuItem','showAllNonBaseMenuItem','closeWindow','scanQRCode','chooseWXPay','openProductSpecificView','addCard','chooseCard','openCard'];
- wx.config({
- appId: '<?php echo $apiInfo['appid'];?>',
- timestamp:<?php echo $apiInfo['timestamp'];?>,
- nonceStr: '<?php echo $apiInfo['noncestr'];?>',
- signature: '<?php echo $apiInfo['signature'];?>',
- jsApiList: apiList
- });
- wx.error(function(res){
-
- });
- </script>
|