modify
This commit is contained in:
@@ -295,7 +295,7 @@ class Response extends HttpService
|
|||||||
public static function create($response = null): static
|
public static function create($response = null): static
|
||||||
{
|
{
|
||||||
Context::setContext('response', $response);
|
Context::setContext('response', $response);
|
||||||
$ciResponse = Snowflake::getDi()->get(SResponse::class);
|
$ciResponse = Snowflake::getDi()->get(Response::class);
|
||||||
$ciResponse->startTime = microtime(true);
|
$ciResponse->startTime = microtime(true);
|
||||||
$ciResponse->format = self::JSON;
|
$ciResponse->format = self::JSON;
|
||||||
return $ciResponse;
|
return $ciResponse;
|
||||||
|
|||||||
Reference in New Issue
Block a user