diff --git a/webapp/services/callback/common/SignatureService.php b/webapp/services/callback/common/SignatureService.php index e4f4e0bc..607f71e5 100644 --- a/webapp/services/callback/common/SignatureService.php +++ b/webapp/services/callback/common/SignatureService.php @@ -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(); }