授权查询系统

QQ授权管理与查询

17:02:55

授权管理

等待操作...

查询授权

请输入QQ号码并点击查询

系统管理

API接口说明

添加/续期授权接口 (POST):

POST /shouquanzhan/sq_jkcx.php

参数:
qq: QQ号码
days: 授权天数
n: 1 (添加/续期)

返回结果(JSON格式):
{
    "status": "success",
    "message": "授权操作成功",
    "qq": "10001",
    "action": "add/renew/renew_expired",
    "expire_time": "2023-12-31 23:59:59"
}
                

删除授权接口 (POST):

POST /shouquanzhan/sq_jkcx.php

参数:
qq: QQ号码
n: 0 (删除)

返回结果(JSON格式):
{
    "status": "success",
    "message": "授权删除成功",
    "qq": "10001",
    "action": "delete"
}
                

查询授权接口 (GET):

GET /shouquanzhan/tjsq.php?qq=10001

返回结果(JSON格式):
{
    "status": "success",
    "qq": "10001",
    "expire_time": "2023-12-31 23:59:59",
    "current_time": "2023-10-15 14:30:25",
    "days_remaining": 77,
    "hours_remaining": 9,
    "minutes_remaining": 28,
    "seconds_remaining": 34,
    "is_expired": false,
    "status_text": "未过期"
}