This commit is contained in:
root
2020-01-14 19:45:19 +08:00
parent 3e86cdcbbf
commit 9b6919e9c9
2 changed files with 16 additions and 1 deletions

View File

@ -39,7 +39,7 @@ class PayTaro
unset($params['sign']);
ksort($params);
reset($params);
$str = http_build_query($params) . $this->appId;
$str = http_build_query($params) . $this->appSecret;
if ($sign !== md5($str)) {
return false;
}