This commit is contained in:
2021-04-23 10:58:54 +08:00
parent 011424b54b
commit 8f9901f56d
+3
View File
@@ -219,11 +219,14 @@ class Response extends HttpService
* @param $sendData
* @param $status
* @return string
* @throws Exception
*/
private function sendData($sendData, $status): string
{
$sendData = $this->setHeaders($status, $sendData);
$this->success(request()->getUri());
$this->response->end($sendData);
$this->response = null;
unset($this->response);