From 9ce8dbe0ddb92c1a6b50823f0c038c8a94c7e2c4 Mon Sep 17 00:00:00 2001 From: Anyon Date: Mon, 26 Nov 2018 14:58:35 +0800 Subject: [PATCH] =?UTF-8?q?[=E6=9B=B4=E6=96=B0]=E5=90=8C=E6=AD=A5jsapi=5Fv?= =?UTF-8?q?.14=E6=8E=A5=E5=8F=A3=E5=88=97=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- WeChat/Script.php | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/WeChat/Script.php b/WeChat/Script.php index 59099d2..49d040c 100644 --- a/WeChat/Script.php +++ b/WeChat/Script.php @@ -87,15 +87,11 @@ class Script extends BasicWeChat "timestamp" => $data['timestamp'], "signature" => $this->getSignature($data, 'sha1'), 'jsApiList' => [ - 'onWXDeviceBluetoothStateChange', 'onWXDeviceStateChange', - 'openProductSpecificView', 'addCard', 'chooseCard', 'openCard', - 'translateVoice', 'getNetworkType', 'openLocation', 'getLocation', - 'onMenuShareTimeline', 'onMenuShareAppMessage', 'onMenuShareQQ', 'onMenuShareWeibo', 'onMenuShareQZone', - 'chooseImage', 'previewImage', 'uploadImage', 'downloadImage', 'closeWindow', 'scanQRCode', 'chooseWXPay', - 'hideOptionMenu', 'showOptionMenu', 'hideMenuItems', 'showMenuItems', 'hideAllNonBaseMenuItem', 'showAllNonBaseMenuItem', - 'startScanWXDevice', 'stopScanWXDevice', 'onWXDeviceBindStateChange', 'onScanWXDeviceResult', 'onReceiveDataFromWXDevice', + 'updateAppMessageShareData', 'updateTimelineShareData', 'onMenuShareWeibo', 'onMenuShareQZone', 'startRecord', 'stopRecord', 'onVoiceRecordEnd', 'playVoice', 'pauseVoice', 'stopVoice', 'onVoicePlayEnd', 'uploadVoice', 'downloadVoice', - 'openWXDeviceLib', 'closeWXDeviceLib', 'getWXDeviceInfos', 'sendDataToWXDevice', 'disconnectWXDevice', 'getWXDeviceTicket', 'connectWXDevice', + 'chooseImage', 'previewImage', 'uploadImage', 'downloadImage', 'translateVoice', 'getNetworkType', 'openLocation', 'getLocation', + 'hideOptionMenu', 'showOptionMenu', 'hideMenuItems', 'showMenuItems', 'hideAllNonBaseMenuItem', 'showAllNonBaseMenuItem', + 'closeWindow', 'scanQRCode', 'chooseWXPay', 'openProductSpecificView', 'addCard', 'chooseCard', 'openCard', ], ]; }