改名
This commit is contained in:
@@ -227,7 +227,8 @@ class Response extends HttpService
|
|||||||
if (mb_strlen($sendData) >= 134217728) {
|
if (mb_strlen($sendData) >= 134217728) {
|
||||||
$this->response->end('');
|
$this->response->end('');
|
||||||
} else {
|
} else {
|
||||||
Snowflake::writeFile(storage('request.log'), $sendData . PHP_EOL. PHP_EOL, FILE_APPEND);
|
$message = '[' . date('Y-m-d H:i:s') . ']' . $sendData . PHP_EOL . PHP_EOL;
|
||||||
|
Snowflake::writeFile(storage('response.log'), $message, FILE_APPEND);
|
||||||
$this->response->end($sendData);
|
$this->response->end($sendData);
|
||||||
}
|
}
|
||||||
$this->response = null;
|
$this->response = null;
|
||||||
|
|||||||
Reference in New Issue
Block a user