diff --git a/pkg/platform/sources/gewechat.py b/pkg/platform/sources/gewechat.py index ad96971e..2b070757 100644 --- a/pkg/platform/sources/gewechat.py +++ b/pkg/platform/sources/gewechat.py @@ -310,6 +310,9 @@ class GeWeChatAdapter(adapter.MessagePlatformAdapter): async def gewechat_callback(): data = await quart.request.json # print(json.dumps(data, indent=4, ensure_ascii=False)) + self.ap.logger.debug( + f"Gewechat callback event: {data}" + ) if 'data' in data: data['Data'] = data['data'] diff --git a/pkg/platform/sources/lark.py b/pkg/platform/sources/lark.py index 4c87640b..a04ceb4e 100644 --- a/pkg/platform/sources/lark.py +++ b/pkg/platform/sources/lark.py @@ -328,6 +328,10 @@ class LarkAdapter(adapter.MessagePlatformAdapter): try: data = await quart.request.json + self.ap.logger.debug( + f"Lark callback event: {data}" + ) + if 'encrypt' in data: cipher = AESCipher(self.config['encrypt-key']) data = cipher.decrypt_string(data['encrypt'])