get_protocol_list
获取当前版本的协议目录。
适用协议
框架接口,不受 QQ 登录协议限制。
调用方式
json
{
"type": "action",
"id": "get_protocol_list-1",
"action": "get_protocol_list",
"params": {}
}参数
无业务参数,params 传 {}。
返回值
data 为数组;每项包含 id: number、platform: string、type: string、version: string、state: boolean。state 表示此协议是否启用。
注意事项
创建、编辑与登录账号时,应选择 state: true 的协议 ID。不要硬编码旧版的 client_type 映射。
