From f1b41ef8c798ccf36337a5ec8eadc6c641934257 Mon Sep 17 00:00:00 2001 From: p9x75mskn <3278354422@qq.com> Date: Mon, 16 Dec 2024 22:09:01 +0800 Subject: [PATCH] Update wechatrequest.lib.php --- core/wechatrequest.lib.php | 180 +++++++++++++++++++++++++++++++++++-- 1 file changed, 174 insertions(+), 6 deletions(-) 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"); } } -} - +}