改名
This commit is contained in:
@@ -159,6 +159,7 @@ class Response extends HttpService
|
||||
$sendData = $this->parseData($context);
|
||||
|
||||
$response = Context::getContext('response');
|
||||
var_dump($response);
|
||||
if ($response instanceof SResponse) {
|
||||
$this->sendData($response, $sendData, $statusCode);
|
||||
} else {
|
||||
@@ -244,7 +245,6 @@ class Response extends HttpService
|
||||
$response->header('Content-Type', $this->getContentType());
|
||||
$response->header('Run-Time', $this->getRuntime());
|
||||
|
||||
var_dump($this->headers);
|
||||
if (empty($this->headers) || !is_array($this->headers)) {
|
||||
return $response;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user