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