diff --git a/app/Http/Controllers/WechatPayController.php b/app/Http/Controllers/WechatPayController.php index a359202..c3c9a41 100644 --- a/app/Http/Controllers/WechatPayController.php +++ b/app/Http/Controllers/WechatPayController.php @@ -56,6 +56,8 @@ class WechatPayController extends Controller 'wechatpay-serial' => $_SERVER['HTTP_WECHATPAY_SERIAL'] ?? '', ]; $body = file_get_contents('php://input'); + Log::info("请求头", ["headers" => $headers]); + Log::info("请求体", ["body" => $body]); $res = WechatPayService::mchTransferCallback($headers, $body); Log::info("解密数据", ["data" => $res]); return $this->success("ok", $res);