|
|
@@ -23,7 +23,7 @@ trait HandleAsyncRequestTrait
|
|
|
Log::debug('微信支付异步回调返回数据:' . $response->getBody());
|
|
|
return json_decode((string)$response->getBody());
|
|
|
})
|
|
|
- ->otherwise(function ($e) {
|
|
|
+ ->otherwise(function ($e) use ($args) {
|
|
|
if ($e instanceof RequestException && $e->hasResponse()) {
|
|
|
$content = $e->getResponse()->getBody()->getContents();
|
|
|
Log::error('微信支付异步回调错误:message={message} content={content} args={args}', [
|