From ce70444b6c19c31957ba1d5cb1e48d9b6118dbdc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E6=99=AF=E7=AB=8B?= Date: Mon, 6 Nov 2023 09:09:29 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E9=99=A4=20Exit=20=E5=87=BD=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- WeChat/Contracts/BasicPushEvent.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WeChat/Contracts/BasicPushEvent.php b/WeChat/Contracts/BasicPushEvent.php index a0529fe..6940124 100644 --- a/WeChat/Contracts/BasicPushEvent.php +++ b/WeChat/Contracts/BasicPushEvent.php @@ -109,7 +109,7 @@ class BasicPushEvent $this->receive = new DataArray(Tools::xml2arr($this->postxml)); } elseif ($_SERVER['REQUEST_METHOD'] == "GET" && $this->checkSignature()) { @ob_clean(); - exit($this->input->get('echostr')); + echo $this->input->get('echostr'); } else { throw new InvalidResponseException('Invalid interface request.', '0'); }