From 4d34c9fb74c40aa2d3a38925b3fb5c087fca5afb Mon Sep 17 00:00:00 2001 From: yumoqing Date: Mon, 2 Mar 2026 18:20:12 +0800 Subject: [PATCH] bugfix --- woa/init.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/woa/init.py b/woa/init.py index 8bec0de..d1e6ca8 100644 --- a/woa/init.py +++ b/woa/init.py @@ -38,7 +38,7 @@ class WOAHandler: # 微信的 AES Key 是 base64 编码的 32 字节字符串 self.aes_key = base64.b64decode(encoding_aes_key + "=") self.encoding_aes_key = self.aes_key - self.media_manager = WeChatMediaManager(app_id, app_secret) + self.media_manager = WeChatMediaManager(self.app_id, self.secret) def _check_signature(self, signature: str, timestamp: str, nonce: str) -> bool: """验证签名"""