本接口总调用:102次·今日调用:0次
接口地址: http://api.98cat.cn/api/qqrcode.php
返回格式: 请看返回示例
请求方式: GET
请求示例: http://api.98cat.cn/api/qqrcode.php
请求参数说明:
名称 | 类型 | 必填 | 说明 |
---|---|---|---|
type | Int | 否 | 不填就是群的可选,1为qun.qq.com,2为vip.qq.com,3为qzone.qq.com,4为huifu.qq.com,5为id.qq.com,6为docs.qq.com,7为connect.qq.com |
qrsig | String | 否 | qrsig值,不填则为获取二维码 |
系统级错误:
名称 | 说明 |
---|---|
400 | 请求错误! |
403 | 请求被服务器拒绝! |
405 | 客户端请求的方法被禁止! |
408 | 请求时间过长! |
500 | 服务器内部出现错误! |
501 | 服务器不支持请求的功能,无法完成请求! |
503 | 系统维护中! |
返回参数说明:
名称 | 类型 | 说明 |
---|---|---|
code | Int | 状态码 |
text | String | 返回提示 |
qrsig | String | qrsig |
base64 | String | base64编码后的图片 |
data | Array | Cookie信息 |
String | 登录的账号 | |
p_skey | String | pskey |
skey | String | skey |
superkey | String | superkey |
supertoken | Int | supertoken |
pt4_token | String | pt4_token |
返回示例:
Warning: file_get_contents(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in /www/wwwroot/api.98cat.cn/tianyi/qqrcode.php on line 98
Warning: file_get_contents(): Failed to enable crypto in /www/wwwroot/api.98cat.cn/tianyi/qqrcode.php on line 98
Warning: file_get_contents(http://api.98cat.cn/api/qqrcode.php): failed to open stream: operation failed in /www/wwwroot/api.98cat.cn/tianyi/qqrcode.php on line 98
错误码格式说明:
名称 | 说明 |
---|---|
1 | 获取成功 |
-1 | 获取二维码失败 |
-2 | qrsig错误 |
-3 | 未知错误 |
-4 | 参数错误 |