# acl提供给volte分析T2的接口

## 鉴权接口

入参说明
token 从top系统带来的token
fromSystem 参数是从top系统带过来的 正式访问应为 top
system 固定为 volte_t2

接口ip根据访问环境自行解决,正式环境部署在192.168.70.125

- 正常用户

```http
POST http://127.0.0.1:12128/api/verification
Content-Type: application/json

{
"token": "test_token_abc",
"fromSystem": "test",
"system": "volte_t2"
}
```

```json
HTTP/1.1 200 
Content-Type: application/json
Transfer-Encoding: chunked
Date: Thu, 01 Sep 2022 04:17:17 GMT
Connection: close

{
  "success": true,
  "code": 1,
  "message": "成功",
  "data": {
    "loginName": "test_abc"
  }
}

```

- 用户不存在或token失效时返回

```http
POST http://127.0.0.1:12128/api/verification
Content-Type: application/json

{
"token": "test_token_abcdddd",
"fromSystem": "test",
"system": "volte_t2"
}
```

```json
HTTP/1.1 200 
Content-Type: application/json
Transfer-Encoding: chunked
Date: Thu, 01 Sep 2022 04:20:27 GMT
Connection: close

{
  "success": false,
  "code": 0,
  "message": "用户不存在",
  "data": {
    "redirect": "https://133.96.90.208/login"
  }
}

```