master
elf 2 years ago
parent 7675b77c77
commit 4a93837a27

@ -58,7 +58,6 @@ class Response
public function verify()
{
var_dump('paySecret', Config::get('paySecret'));
return Signer::verify($this->data, Config::get('paySecret'));
}
}

@ -15,6 +15,9 @@ class Signer
ksort($params);
$signPrams = [];
foreach ($params as $key => $value) {
if ($value === '') {
continue;
}
$signPrams[] = $key . '=' . $value;
}
$signPrams[] = 'paySecret=' . $paySecret;

Loading…
Cancel
Save