增加输出日志

This commit is contained in:
2024-04-02 10:24:41 +08:00
parent f8299b36aa
commit c5df43ce48
5 changed files with 19 additions and 15 deletions

View File

@@ -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);
}