|
|
@@ -242,6 +242,10 @@ class Http
|
|
|
|
|
|
$options['handler'] = $this->getHandler();
|
|
|
|
|
|
+ @file_put_contents('quanju2.txt', json_encode($method)."-微信支付失败12\r\n", 8);
|
|
|
+ @file_put_contents('quanju2.txt', json_encode($url)."-微信支付失败13\r\n", 8);
|
|
|
+ @file_put_contents('quanju2.txt', json_encode($options)."-微信支付失败14\r\n", 8);
|
|
|
+
|
|
|
$response = $this->getClient()->request($method, $url, $options);
|
|
|
|
|
|
Log::debug('API response:', [
|
|
|
@@ -250,7 +254,7 @@ class Http
|
|
|
'Headers' => $response->getHeaders(),
|
|
|
'Body' => strval($response->getBody()),
|
|
|
]);
|
|
|
-
|
|
|
+ @file_put_contents('quanju2.txt', json_encode($response)."-微信支付失败11\r\n", 8);
|
|
|
return $response;
|
|
|
}
|
|
|
|