captcha_heartbeat
查询滑块验证结果。
适用协议
框架接口,不受 QQ 登录协议限制。
调用方式
json
{
"type": "action",
"id": "captcha_heartbeat-1",
"action": "captcha_heartbeat",
"params": {
"uuid": "返回的UUID"
}
}参数
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
uuid | string | 是 | register_captcha 返回的 UUID |
返回值
| 字段 | 类型 | 说明 |
|---|---|---|
status | string | pending:等待验证;ready:结果就绪;expired:会话已过期。 |
ticket | string | 仅 ready 返回。 |
randstr | string | 仅 ready 返回。 |
注意事项
仅创建此会话的插件服务可以查询。expired 时重新发起当前登录流程,不要复用旧 ticket。
