Closed 892768447 closed 6 years ago
可以 try catch 一下看看那个 exception 的 retcode 是多少,另外,你发了我才发现 README 里的示例写错了,现在已经是 auto_escape
而不是 is_raw
了,但你这个应该不是因为这个原因
嗯。我也看到文档了auto_escape。 下面是api.py 里 def _handle_api_result(result: Optional[Dict[str, Any]]) -> Any:
result的值: {'data': None, 'echo': {'seq': 1}, 'retcode': 100, 'status': 'failed'}
我晚上看下,确实有可能是我代码的问题
100 | 参数缺失或参数无效,通常是因为没有传入必要参数,某些接口中也可能因为参数明显无效(比如传入的 QQ 号小于等于 0,此时无需调用酷 Q 函数即可确定失败),此项和以下的 status 均为 failed |
---|
确实是我的过,马上发个新版修掉