This commit is contained in:
Hankin 2026-04-24 17:07:11 +08:00
parent 53657469cd
commit 86d1d7213f

View File

@ -60,6 +60,9 @@ class WechatPayController extends Controller
Log::info("请求头", ["headers" => $headers]); Log::info("请求头", ["headers" => $headers]);
Log::info("请求体", ["body" => $body]); Log::info("请求体", ["body" => $body]);
$res = WechatPayService::mchTransferCallback($headers, $body); $res = WechatPayService::mchTransferCallback($headers, $body);
if (empty($res)) {
return $this->failure("回调失败");
}
Log::info("解密数据", ["data" => $res]); Log::info("解密数据", ["data" => $res]);
return $this->success("ok", $res); return $this->success("ok", $res);
} }