This commit is contained in:
Hankin 2026-04-24 11:20:43 +08:00
parent 2d9c5ec924
commit 32990be24b

View File

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