This commit is contained in:
2020-09-16 20:33:25 +08:00
parent 334a5721b0
commit 3014c26c46
+3
View File
@@ -184,6 +184,9 @@ class Response extends Application
$this->response->header('Content-Type', $this->getContentType());
$this->response->header('Access-Control-Allow-Origin', '*');
$this->response->header('Run-Time', $this->getRuntime());
if (empty($sendData)) {
$sendData = '';
}
$this->response->end($sendData);
return $sendData;
}