示例#1
0
 def thank(self, **kwargs):
     """
     感谢
     """
     r = self._execute(url=URL.thank(self.id), **kwargs)
     if r.ok:
         return r.json()
示例#2
0
 def thank(self):
     """
     感谢
     """
     r = self._execute(method="post", url=URL.thank(self.id))
     if r.ok:
         return r.json()
     else:
         raise ZhihuError("操作失败:%s" % r.text)
示例#3
0
 def thank(self, **kwargs):
     """
     感谢
     """
     r = self._execute(url=URL.thank(self.id), **kwargs)
     if r.ok:
         return r.json()
     else:
         raise ZhihuError("操作失败:%s" % r.text)