From 32a8a847fc5f892779d03a220fbb43ca36c0c0b1 Mon Sep 17 00:00:00 2001 From: huiwen Date: Thu, 30 Nov 2023 12:09:03 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=B0=8Fbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- channel/dingtalk/dingtalk_channel.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/channel/dingtalk/dingtalk_channel.py b/channel/dingtalk/dingtalk_channel.py index 9a9b170..ad95883 100644 --- a/channel/dingtalk/dingtalk_channel.py +++ b/channel/dingtalk/dingtalk_channel.py @@ -97,7 +97,7 @@ class DingTalkChanel(ChatChannel,dingtalk_stream.ChatbotHandler): self.handle_single(dingtalk_msg) else: self.handle_single(dingtalk_msg) - + return AckMessage.STATUS_OK, 'OK' except Exception as e: logger.error(e) return self.FAILED_MSG @@ -109,7 +109,7 @@ class DingTalkChanel(ChatChannel,dingtalk_stream.ChatbotHandler): incoming_message = context.kwargs['msg'].incoming_message self.reply_text(reply.content, incoming_message) - return AckMessage.STATUS_OK, 'OK' + class dingtalkController: # 类常量