From 60800a4d494c041b9f68ad24fe724dd5c4ebfadf Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Tue, 29 Jan 2019 16:08:21 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=B6=88=E6=81=AF=E5=8A=A0?= =?UTF-8?q?=E5=AF=86=E5=87=BD=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- webapp/controller/KefuController.class.php | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/webapp/controller/KefuController.class.php b/webapp/controller/KefuController.class.php index d0310ae..9fa147d 100644 --- a/webapp/controller/KefuController.class.php +++ b/webapp/controller/KefuController.class.php @@ -198,21 +198,6 @@ class KefuController { } } - private function encryptJson() - { - $pc = new WXBizMsgCrypt(WEIXIN_TOKEN, WEIXIN_MSG_KEY, WEIXIN_APP_ID); - $encryptMsg = ''; - $text = $postStr; - $errcode = $pc->encryptJsonMsg($text, $timeStamp, $nonce, $encryptMsg_str); - if ($errcode == 0) { - $encryptMsg = json_decode($encryptMsg_str, true); - - $errcode = $pc->decryptJsonMsg($encryptMsg['MsgSignature'], $timeStamp, $nonce, - $encryptMsg_str, $postStr2); - } else { - } - } - private function sendKefuMsg($accountid, $data) { $access_token = $this->getAccessToken($accountid);