(self, message_info)
return reply
被动回复
        :type message_info: wechat_django.models.WeChatMessageInfo
        :rtype: wechatpy.replies.BaseReply
被动回复
        :type message_info: wechat_django.models.WeChatMessageInfo
        :rtype: wechatpy.replies.BaseReply
被动回复 : type message_info : wechat_django . models . WeChatMessageInfo : rtype : wechatpy . replies . BaseReply
def reply(self, message_info):
        """被动回复
        :type message_info: wechat_django.models.WeChatMessageInfo
        :rtype: wechatpy.replies.BaseReply
        """
        if self.type == self.MsgType.FORWARD:
            # 转发业务
            reply = self.reply_forward(message_info)
        elif self.type == self.MsgType.CUSTOM:
            # 自定义业务
            reply = self.reply_custom(message_info)
        else:
            # 正常回复类型
            reply = self.normal_reply(message_info.message)
        return reply
def reply ( self , message_info ) : if self . type == self . MsgType . FORWARD : # 转发业务 reply = self . reply_forward ( message_info ) elif self . type == self . MsgType . CUSTOM : # 自定义业务 reply = self . reply_custom ( message_info ) else : # 正常回复类型 reply = self . normal_reply ( message_info . message ) return reply