This commit is contained in:
aozhiwei 2023-07-14 13:54:20 +08:00
parent 5368924a12
commit 300d4fcc3c

View File

@ -20,6 +20,11 @@ class SignatureService {
myself()-_rspErr(self::ERRCODE);
die();
}
$sign = self::normalMd5Sign($_REQUEST, $row['secret_key'], array('_sign'));
if ($sign != $row['signature']) {
myself()-_rspErr(self::ERRCODE);
die();
}
}
public static function normalMd5Sign($params, $secretKey, $excludeKeys){