From 7586860d92900b2e3fac483efce2ebea55656ffd Mon Sep 17 00:00:00 2001 From: Anyon Date: Fri, 23 Mar 2018 17:24:04 +0800 Subject: [PATCH] =?UTF-8?q?[=E6=9B=B4=E6=96=B0]=E4=BF=AE=E6=94=B9=E5=85=AC?= =?UTF-8?q?=E4=BC=97=E5=8F=B7=E6=B6=88=E6=81=AF=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/wechat/controller/api/Push.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/application/wechat/controller/api/Push.php b/application/wechat/controller/api/Push.php index 2a165a88f..468ccc7a4 100644 --- a/application/wechat/controller/api/Push.php +++ b/application/wechat/controller/api/Push.php @@ -97,7 +97,7 @@ class Push } // text,event,image,location if (method_exists($this, ($method = $this->receive['MsgType']))) { - return $this->$method(); + $this->$method(); } return 'success'; } @@ -237,7 +237,6 @@ class Push protected function sendMessage($type, $data) { $msgData = ['touser' => $this->openid, 'msgtype' => $type, "{$type}" => $data]; - p($msgData); return WechatService::custom()->send($msgData); }