diff --git a/core/wechatrequest.lib.php b/core/wechatrequest.lib.php index 5fe24be..f39c50e 100644 --- a/core/wechatrequest.lib.php +++ b/core/wechatrequest.lib.php @@ -1,59 +1,87 @@ -以下是去除注释后的PHP代码: - -```php "; $from_xml = sprintf($format, $encrypt); +// 第三方收到公众号平台发送的消息 $msg = ''; $errCode = $pc->decryptMsg($msg_sign, $timeStamp, $nonce, $from_xml, $msg); if ($errCode == 0) { @@ -281,6 +450,5 @@ class WechatRequest{ print($errCode . "\n"); } } -} - +}