From 33de57b515e5c0fe5ebc61a91b22ebf47d9df9b0 Mon Sep 17 00:00:00 2001 From: "as2252258@163.com" Date: Thu, 29 Aug 2019 18:25:42 +0800 Subject: [PATCH] add clear --- wx/Notify.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; }