mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2026-06-12 06:18:12 +08:00
fix: 修改支付通知处理
This commit is contained in:
parent
d338a8fc8c
commit
5099f49b00
@ -148,7 +148,7 @@ class PaymentService
|
|||||||
public static function notify(?array $data = null): Response
|
public static function notify(?array $data = null): Response
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
$notify = static::withPayment()->notify();
|
$notify = static::withPayment()->notify(Library::$sapp->request->post());
|
||||||
$result = empty($notify['result']) ? [] : json_decode($notify['result'], true);
|
$result = empty($notify['result']) ? [] : json_decode($notify['result'], true);
|
||||||
if (empty($result) || !is_array($result)) return response('error', 500);
|
if (empty($result) || !is_array($result)) return response('error', 500);
|
||||||
//订单支付通知处理
|
//订单支付通知处理
|
||||||
|
|||||||
@ -42,7 +42,7 @@
|
|||||||
</label>
|
</label>
|
||||||
|
|
||||||
<div class="layui-form-item">
|
<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 class="margin-top-10">
|
||||||
<div data-mch-type="pem" class="layui-tab-item">
|
<div data-mch-type="pem" class="layui-tab-item">
|
||||||
<input type="hidden" name="wechat.mch_ssl_pay" value="{$mch_ssl_pay|default=''}">
|
<input type="hidden" name="wechat.mch_ssl_pay" value="{$mch_ssl_pay|default=''}">
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user