This commit is contained in:
2020-09-09 11:26:25 +08:00
parent f1cf5650ff
commit 5d7c6d4ecb
4 changed files with 21 additions and 60 deletions
+3 -2
View File
@@ -156,7 +156,7 @@ class Response extends Application
$event = Snowflake::app()->event;
$event->trigger('CONSOLE_END');
return 'ok';
return $result;
}
/**
@@ -171,7 +171,8 @@ class Response extends Application
$response->header('Content-Type', $this->getContentType());
$response->header('Access-Control-Allow-Origin', '*');
$response->header('Run-Time', $this->getRuntime());
return $response->end($sendData);
$response->end($sendData);
return $sendData;
}
/**