diff --git a/app/common/logic/PayNotifyLogic.php b/app/common/logic/PayNotifyLogic.php index e2d8f51..1369e38 100644 --- a/app/common/logic/PayNotifyLogic.php +++ b/app/common/logic/PayNotifyLogic.php @@ -73,7 +73,7 @@ class PayNotifyLogic extends BaseLogic } } PushService::push('cash_register_'.$order['user_id'], $order['user_id'], '您有一笔订单已支付'); - if(isset($orderSn,$extra['payer']['openid'])){ + if(isset($extra['payer']['openid'])){ (new WeChatMnpService)->delivery($orderSn,$extra['payer']['openid']); } return true;