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