This commit is contained in:
xl
2023-11-14 14:10:36 +08:00
parent f263014948
commit 70222819b9
13 changed files with 133 additions and 129 deletions
+2 -2
View File
@@ -76,7 +76,7 @@ class Notify extends SmallProgram
* @param $value
* @return void
*/
public function __set(string $name, $value): void
public function __set(string $name, mixed $value): void
{
if (property_exists($this, $name)) {
$this->$name = $value;
@@ -94,7 +94,7 @@ class Notify extends SmallProgram
unset($params['sign']);
$signType = $this->payConfig->getSignType();
$privateKey = $this->payConfig->getKey();
$privateKey = $this->payConfig->pay->wx->secret;
$nowSign = Help::sign($params, $privateKey, $signType);
if ($sign === $nowSign) {
return true;