fix: 修改支付通知处理

This commit is contained in:
邹景立 2025-03-03 23:07:18 +08:00
parent d338a8fc8c
commit 5099f49b00
2 changed files with 2 additions and 2 deletions

View File

@ -148,7 +148,7 @@ class PaymentService
public static function notify(?array $data = null): Response
{
try {
$notify = static::withPayment()->notify();
$notify = static::withPayment()->notify(Library::$sapp->request->post());
$result = empty($notify['result']) ? [] : json_decode($notify['result'], true);
if (empty($result) || !is_array($result)) return response('error', 500);
//订单支付通知处理

View File

@ -42,7 +42,7 @@
</label>
<div class="layui-form-item">
<span class="help-label label-required-prev"><b>微信 V3 支付证书公钥</b>MCH_V3_PAYCERT</span>
<span class="help-label label-required-prev"><b>微信 V3 支付公钥文件</b>MCH_V3_PAYCERT</span>
<div class="margin-top-10">
<div data-mch-type="pem" class="layui-tab-item">
<input type="hidden" name="wechat.mch_ssl_pay" value="{$mch_ssl_pay|default=''}">