diff --git a/qq/Notify.php b/qq/Notify.php index e3817da..2a62e67 100644 --- a/qq/Notify.php +++ b/qq/Notify.php @@ -74,7 +74,7 @@ class Notify extends SmallProgram unset($params['sign']); $signType = $this->payConfig->getSignType(); - $privateKey = $this->payConfig->getKey(); + $privateKey = $this->payConfig->pay->qq->mchSecret; $nowSign = Help::sign($params, $privateKey, $signType); if ($sign === $nowSign) { return true;