改名
This commit is contained in:
@@ -228,9 +228,6 @@ class Response extends HttpService
|
|||||||
if (!swoole()->exist($response->fd)) {
|
if (!swoole()->exist($response->fd)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (is_array($sendData)) {
|
|
||||||
$sendData = Json::encode($sendData);
|
|
||||||
}
|
|
||||||
$response->end($this->setHeaders($response, $status)
|
$response->end($this->setHeaders($response, $status)
|
||||||
->setResponseContent($sendData));
|
->setResponseContent($sendData));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user