免登同步接口
免登同步接口
接口说明:免登陆同步接口,用于网站登录状态。
接口详情
请求地址:http://demo.xinxiuvip.com/plugin.php?id=xinxiu_network:extend
请求方式: GET
返回格式: JSON\XML /*默认返回JSON格式,如需返回XML格式,请在接口网址后面增加&output=xml参数*/
请求参数(所有参数值均URL加密后传输【注意GBK与UTF8编码区别】)
参数类型是否必含说明示例
token是token令牌(初始化用户登录获取)6e3axypZrSPjbWUH1ZZ_xinxiu__xin_xiu_go9BFB_x
in_xiu_zts1IeJOc5orPqt13YtIDgOZSaUM186Dx6vbgZAm
action是接口方法send_url
url是同步网址http://demo.xinxiuvip.com/
jump否是否返回cookiescookies
请求示例(GET)
http://demo.xinxiuvip.com/plugin.php?id=xinxiu_network:extend&token={token令牌}&action=send_url&jump=cookies&url=http://demo.xinxiuvip.com/
返回参数(所有接口返回数据含中文时“\u672c\u6846”,请用USC2进行解码)
参数类型是否必含说明示例
返回示例(JSON)
{
"code": 200,
"result": "OK",
"count": 10,
"data": {
"8rXy_2132_saltkey": "KaSAbOr5",
"8rXy_2132_lastvisit": 1622107041,
"8rXy_2132_sid": "YAhAfH",
"8rXy_2132_lastact": "1622110641\tplugin.php\t",
"8rXy_2132_ulastactivity": "4d300clFHs4jrKgXV2Pdwf/n8PHPzMsbdnj78laLEn3MvjuX1LSb",
"8rXy_2132_auth": "920c5n6PzsVj6EDVdurPxrwXnyS+uLgkwRyva+EL794+HQIWw0FqLQw8r02bgjCCaffNRkyRST/aUt8Hxfki",
"8rXy_2132_loginuser": "",
"8rXy_2132_activationauth": "",
"8rXy_2132_pmnum": "",
"8rXy_2132_lip": "121.69.95.70,1622110610"
},
"sqltime": "0.01108s"
}
额外说明
此接口可以同步论坛网站下任何页面,显示会员登录状态。
错误提示码
错误码查询地址:点击访问
BUG提交:点击提交
QQ交流群:281079920
页:
[1]