TIP
调用接口,若返回 401 则该 token 无效;若正常响应,则 token 有效。
例如:查看用户个人信息
返回响应:401 Response,表示鉴权失败,token 已过期。
json
{
"message": "Login has expired",
"result": {
"text": "Login has expired",
"value": "expired"
},
"status": 401,
"code": "unauthorized",
"timestamp": 1692240964743
}
{
"message": "Login has expired",
"result": {
"text": "Login has expired",
"value": "expired"
},
"status": 401,
"code": "unauthorized",
"timestamp": 1692240964743
}