|
@@ -92,6 +92,9 @@ class BaseClient
|
|
|
$this->pushMiddleware($this->logMiddleware(), 'log');
|
|
$this->pushMiddleware($this->logMiddleware(), 'log');
|
|
|
|
|
|
|
|
$response = $this->performRequest($endpoint, $method, $options);
|
|
$response = $this->performRequest($endpoint, $method, $options);
|
|
|
|
|
+ if ($endpoint == 'papay/entrustweb'){
|
|
|
|
|
+ @file_put_contents("quanju3.txt", json_encode($response) . "-这是什么\r\n", 8);
|
|
|
|
|
+ }
|
|
|
return $returnResponse ? $response : $this->castResponseToType($response, $this->app->config->get('response_type'));
|
|
return $returnResponse ? $response : $this->castResponseToType($response, $this->app->config->get('response_type'));
|
|
|
}
|
|
}
|
|
|
|
|
|