From 6b74bce8152f9ac48caf68f6fe2e09190c49bbc7 Mon Sep 17 00:00:00 2001 From: liuwei Date: Fri, 16 May 2025 14:33:10 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E8=AF=95=E5=86=85=E5=AE=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- robot.py | 2 +- wechat_ipad/client/message.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/robot.py b/robot.py index b60aa9a..054d7f3 100644 --- a/robot.py +++ b/robot.py @@ -228,7 +228,7 @@ class Robot(Job): if data: tasks = [] for message in data: - # self.LOG.debug(f"sync_message.处理消息消息内容: {message}") + self.LOG.debug(f"sync_message.处理消息消息内容: {message}") # 处理消息 try: wxmsg: WxMessage = WxMessage.from_json(message) diff --git a/wechat_ipad/client/message.py b/wechat_ipad/client/message.py index c9e9fe0..2f27498 100644 --- a/wechat_ipad/client/message.py +++ b/wechat_ipad/client/message.py @@ -191,6 +191,7 @@ class MessageMixin(WechatAPIClientBase): json_param.pop('Base64') self.logging.info("发送图片消息: 对方wxid:{} 图片base64略", wxid) data = json_resp.get("Data") + self.logging.debug("发送图片消息成功,返回:{}", data) return data.get("ClientImgId").get("string"), data.get("CreateTime"), data.get("NewMsgId") else: self.error_handler(json_resp)