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