bugfix
This commit is contained in:
parent
d08afde6ca
commit
4d34c9fb74
@ -38,7 +38,7 @@ class WOAHandler:
|
|||||||
# 微信的 AES Key 是 base64 编码的 32 字节字符串
|
# 微信的 AES Key 是 base64 编码的 32 字节字符串
|
||||||
self.aes_key = base64.b64decode(encoding_aes_key + "=")
|
self.aes_key = base64.b64decode(encoding_aes_key + "=")
|
||||||
self.encoding_aes_key = self.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:
|
def _check_signature(self, signature: str, timestamp: str, nonce: str) -> bool:
|
||||||
"""验证签名"""
|
"""验证签名"""
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user