diff --git a/woa/init.py b/woa/init.py index 63a1579..18737e0 100644 --- a/woa/init.py +++ b/woa/init.py @@ -163,11 +163,11 @@ class WOAHandler: try: if echo_str: # GET 请求:验证 URL - echo_str = self.crypto.check_signature(signature, timestamp, nonce, echo_str) + echo_str = self.crypto._check_signature(signature, timestamp, nonce, echo_str) return True, echo_str else: # POST 请求:验证签名 (不返回 echo_str,只返回 True) - self.crypto.check_signature(signature, timestamp, nonce) + self.crypto._check_signature(signature, timestamp, nonce) return True, None except InvalidSignatureException: logger.warning("签名验证失败")