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) {