增加输出日志
This commit is contained in:
@@ -60,7 +60,7 @@ class ClientHandler
|
||||
{
|
||||
$executionContext = $this->getExecutionContext($executionParams);
|
||||
$request = $executionParams->getRequestMarshaller()->marshal($executionParams->getRequest());
|
||||
\Log::channel('yeepay')->info(json_encode($request->getParameters()));
|
||||
\Log::channel('yeepay')->error('提交的参数:', $request->getParameters());
|
||||
|
||||
/** @var ExecutionContext $httpExecutionContext */
|
||||
$httpExecutionContext = $executionContext[0];
|
||||
@@ -69,7 +69,6 @@ class ClientHandler
|
||||
$yopHttpResponse = $this->yopHttpClient->execute($request, $httpExecutionContext);
|
||||
/** @var ResponseUnMarshalParams $ResponseUnMarshalParams */
|
||||
$ResponseUnMarshalParams = $executionContext[1];
|
||||
|
||||
return $executionParams->getResponseUnMarshaller()->unmarshal($yopHttpResponse, $ResponseUnMarshalParams);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user