diff --git a/webapp/services/callback/common/SignatureService.php b/webapp/services/callback/common/SignatureService.php index 9c31bb3d..e4f4e0bc 100644 --- a/webapp/services/callback/common/SignatureService.php +++ b/webapp/services/callback/common/SignatureService.php @@ -4,7 +4,7 @@ namespace services; class SignatureService { - const ERRCODE_SIGN = 2001; + const ERRCODE_SIGN_ERROR = 2001; public static function web3ServiceCheck() { @@ -17,12 +17,12 @@ class SignatureService { ) ); if (!$row) { - myself()-_rspErr(self::ERRCODE_SIGN); + myself()-_rspErr(self::ERRCODE_SIGN_ERROR, 'not found cb info'); die(); } $sign = self::normalMd5Sign($_REQUEST, $row['secret_key'], array('_sign')); if ($sign != $row['signature']) { - myself()-_rspErr(self::ERRCODE_SIGN); + myself()-_rspErr(self::ERRCODE_SIGN_ERROR, 'sign error'); die(); } }