From f716e8e3ccfd88697e18e27d09a73aa60230c5ba Mon Sep 17 00:00:00 2001 From: Anyon Date: Mon, 5 Feb 2018 19:04:18 +0800 Subject: [PATCH] =?UTF-8?q?[=E6=9B=B4=E6=96=B0]=E4=BF=AE=E6=AD=A3=E5=BE=AE?= =?UTF-8?q?=E4=BF=A1=E6=94=AF=E4=BB=98=E9=80=9A=E7=9F=A5=E7=AD=BE=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- WeChat/Pay.php | 1 + 1 file changed, 1 insertion(+) diff --git a/WeChat/Pay.php b/WeChat/Pay.php index 48b42de..e5fcda5 100644 --- a/WeChat/Pay.php +++ b/WeChat/Pay.php @@ -210,6 +210,7 @@ class Pay */ public function getPaySign(array $data) { + unset($data['sign']); ksort($data); list($key, $str) = [$this->config->get('mch_key'), '']; foreach ($data as $k => $v) {