eee
This commit is contained in:
+2
-2
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user