Exemplo n.º 1
0
 def thank(self, **kwargs):
     """
     感谢
     """
     r = self._execute(url=URL.thank(self.id), **kwargs)
     if r.ok:
         return r.json()
Exemplo n.º 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)
Exemplo n.º 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)