收藏笔记

def favorite_note(self, note_id,
                      url='https://api.shanbay.com/bdc/learning_note/'):
        """收藏笔记"""
        data = {
            'note_id': note_id
        }
        return self._request(url, method='post', data=data).json()