授权登录验证检查
GET
/api/auth_app/check最后修改时间: 1 年前
责任人: 未设置
授权登录验证接口,,可调用此接口拿到用户临时token登录令牌和相关用户信息
请求参数
Query 参数
machine_info
string
可选
用户登录的机器设备信息
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer
必需
message
string
必需
timestamp
integer
必需
nonceStr
string
必需
data
object
必需
authInfo
object
授权信息
surplusTime
object
剩余时间
expireTimeStr
string
授权到期时间字串
moreOtherData
object
必需
signature
string
必需
示例
{
"code": 1,
"message": "登录成功",
"timestamp": 1673845262,
"nonceStr": "c82782e402e397b435ac0582a71fed71",
"data": {
"authInfo": {
"id": 3,
"auth": "test",
"addtime": 1669193908,
"endtime": 253370736000,
"is_forever_auth": 1,
"private_data": {
"test": "test"
},
"token": "7b226964223a332c22737461727454696d65223a313637333834343931307d",
"point": 0
},
"surplusTime": {
"second": 251696890738,
"minute": 58,
"hour": 10,
"day": 2913158
},
"expireTimeStr": "9999-01-01 00:00:00",
"moreOtherData": {
"api_extra_data": "",
"request_safe_code": ""
}
},
"signature": "39a9bd1a884a62127bc1b4d8d0b78dd1"
}
最后修改时间: 1 年前