diff --git a/wx/Notify.php b/wx/Notify.php index c407eaa..3aa2c98 100644 --- a/wx/Notify.php +++ b/wx/Notify.php @@ -82,7 +82,9 @@ class Notify extends Miniprogarampage $sign = $params['sign']; unset($params['sign']); - $nowSign = Help::sign($params, $this->config->getKey(), $sign['sign_type']); + $signType = $this->config->getSignType(); + $privateKey = $this->config->getKey(); + $nowSign = Help::sign($params, $privateKey, $signType); if ($sign === $nowSign) { return true; }