From 32990be24bb49ae55c5d97093a0192c2313089a7 Mon Sep 17 00:00:00 2001 From: Hankin Date: Fri, 24 Apr 2026 11:20:43 +0800 Subject: [PATCH] transfer --- app/Http/Controllers/WechatPayController.php | 2 ++ 1 file changed, 2 insertions(+) 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);