去除 Exit 函数

This commit is contained in:
邹景立 2023-11-06 09:09:29 +08:00
parent 9becf988c9
commit ce70444b6c

View File

@ -109,7 +109,7 @@ class BasicPushEvent
$this->receive = new DataArray(Tools::xml2arr($this->postxml)); $this->receive = new DataArray(Tools::xml2arr($this->postxml));
} elseif ($_SERVER['REQUEST_METHOD'] == "GET" && $this->checkSignature()) { } elseif ($_SERVER['REQUEST_METHOD'] == "GET" && $this->checkSignature()) {
@ob_clean(); @ob_clean();
exit($this->input->get('echostr')); echo $this->input->get('echostr');
} else { } else {
throw new InvalidResponseException('Invalid interface request.', '0'); throw new InvalidResponseException('Invalid interface request.', '0');
} }