weijianghai e552227483 feat: web鉴权接口添加maintenance字段 | 6 months ago | |
---|---|---|
doc | 6 months ago | |
src | 6 months ago | |
.gitignore | 2 years ago | |
pom.xml | 1 year ago | |
readme.md | 2 years ago |
192.168.70.125 12128端口 /data1/acl 目录
调整验证异常接口,token为失效token时返回登陆地址
### system 由调用接口的系统确定
POST http://192.168.70.125:12128/api/verification
Content-Type: application/json
{
"token": "这是一个不存在或者无效的token",
"fromSystem": "dop",
"system": "daping"
}
{
"success": false,
"code": 0,
"message": "用户不存在",
"data": {
"redirect": "http://133.96.90.210:8089/login"
}
}
应对token和fromSystem均为空的情况
### system 由调用接口的系统确定
POST http://192.168.70.125:12128/api/verification
Content-Type: application/json
{
"token": "",
"fromSystem": "",
"system": "daping"
}
{
"success": false,
"code": 0,
"message": "用户不存在",
"data": {
"redirect": "http://133.96.90.210:8089/login"
}
}