This commit is contained in:
Hankin 2026-04-24 17:02:34 +08:00
parent bb9e304d20
commit 53657469cd

View File

@ -56,7 +56,7 @@ class WechatPayController extends Controller
'wechatpay-serial' => $_SERVER['HTTP_WECHATPAY_SERIAL'] ?? '',
];
$body = $request->all();
$body = json_encode($body);
$body = json_encode($body, JSON_UNESCAPED_UNICODE);
Log::info("请求头", ["headers" => $headers]);
Log::info("请求体", ["body" => $body]);
$res = WechatPayService::mchTransferCallback($headers, $body);