From bcda66172c7cb6ddf6fdbb59167f3cd9dd8f12f1 Mon Sep 17 00:00:00 2001 From: Anyon Date: Sat, 24 Mar 2018 13:50:18 +0800 Subject: [PATCH] =?UTF-8?q?[=E6=9B=B4=E6=96=B0]=E8=B0=83=E6=95=B4=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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/wechat/controller/api/Push.php b/application/wechat/controller/api/Push.php index 89d6262f7..147bf4e05 100644 --- a/application/wechat/controller/api/Push.php +++ b/application/wechat/controller/api/Push.php @@ -255,7 +255,7 @@ class Push $wechat = WechatService::receive(); switch (strtolower($type)) { case 'text': - return $wechat->text($data)->reply([], true); + return $wechat->text($data['content'])->reply([], true); case 'image': return $wechat->image($data['media_id'])->reply([], true); case 'video':