1
This commit is contained in:
parent
d68d106699
commit
941c343180
@ -17,11 +17,13 @@ class SignatureService {
|
||||
)
|
||||
);
|
||||
if (!$row) {
|
||||
error_log('error sign1:' . json_encode($_REQUEST));
|
||||
myself()-_rspErr(self::ERRCODE_SIGN_ERROR, 'not found cb info');
|
||||
die();
|
||||
}
|
||||
$sign = self::normalMd5Sign($_REQUEST, $row['secret_key'], array('_sign'));
|
||||
if ($sign != $row['signature']) {
|
||||
error_log('error sign2:' . json_encode($_REQUEST));
|
||||
myself()-_rspErr(self::ERRCODE_SIGN_ERROR, 'sign error');
|
||||
die();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user