From 9e11a85fc4bf87029912a17b08b5ab643b46e96b Mon Sep 17 00:00:00 2001 From: devil_gong Date: Fri, 12 Jul 2019 15:17:42 +0800 Subject: [PATCH] pay --- extend/payment/MafubaoWeixin.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/extend/payment/MafubaoWeixin.php b/extend/payment/MafubaoWeixin.php index 6faea90d6..5cde301f7 100644 --- a/extend/payment/MafubaoWeixin.php +++ b/extend/payment/MafubaoWeixin.php @@ -189,6 +189,10 @@ class MafubaoWeixin { return DataReturn('支付失败', -1); } + if(empty($params['sign'])) + { + return DataReturn('签名为空', -1); + } // 签名验证 $param = $this->GetParamSign($params);