1
This commit is contained in:
parent
5368924a12
commit
300d4fcc3c
@ -20,6 +20,11 @@ class SignatureService {
|
|||||||
myself()-_rspErr(self::ERRCODE);
|
myself()-_rspErr(self::ERRCODE);
|
||||||
die();
|
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){
|
public static function normalMd5Sign($params, $secretKey, $excludeKeys){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user