    def add_friend(self, user, verify_content=''):
        """
        添加用户为好友

        :param user: 用户对象，或 user_name
        :param verify_content: 验证说明信息
        """

        logger.info('{}: adding {} (verify_content: {})'.format(self, user, verify_content))
        user_name = get_user_name(user)

        return self.core.add_friend(
            userName=user_name,
            status=2,
            verifyContent=verify_content,
            autoUpdate=True
        )
添加用户为好友

:param user: 用户对象，或 user_name
:param verify_content: 验证说明信息
wxpy/api/bot.py