正在显示
1 个修改的文件
包含
5 行增加
和
4 行删除
| @@ -44,16 +44,17 @@ class WXBizDataCrypt | @@ -44,16 +44,17 @@ class WXBizDataCrypt | ||
| 44 | $result=openssl_decrypt( $aesCipher, "AES-128-CBC", $aesKey, 1, $aesIV); | 44 | $result=openssl_decrypt( $aesCipher, "AES-128-CBC", $aesKey, 1, $aesIV); |
| 45 | 45 | ||
| 46 | $dataObj=json_decode( $result ); | 46 | $dataObj=json_decode( $result ); |
| 47 | + print_r($dataObj->watermark->appid); | ||
| 48 | + print_r($this->appid); | ||
| 49 | + print_r(123123); | ||
| 50 | + return; | ||
| 47 | if( $dataObj == NULL ) | 51 | if( $dataObj == NULL ) |
| 48 | { | 52 | { |
| 49 | return ErrorCode::$IllegalBuffer; | 53 | return ErrorCode::$IllegalBuffer; |
| 50 | } | 54 | } |
| 51 | if( $dataObj->watermark->appid != $this->appid ) | 55 | if( $dataObj->watermark->appid != $this->appid ) |
| 52 | { | 56 | { |
| 53 | - print_r($dataObj->watermark->appid); | ||
| 54 | - print_r($this->appid); | ||
| 55 | - print_r(123123); | ||
| 56 | - return; | 57 | + |
| 57 | return ErrorCode::$IllegalBuffer; | 58 | return ErrorCode::$IllegalBuffer; |
| 58 | } | 59 | } |
| 59 | $data = $result; | 60 | $data = $result; |
-
请 注册 或 登录 后发表评论