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':