# 正式环境测试文档

## 接口测试  TODO 需要补充异常情况测试样例

- 查询接口

```http
POST HTTP://192.168.70.130:12120/sms/blacklist/api/query/
Content-Type: application/json

{
    "phoneNumber": "13231899751",
    "fromSystem": "test"
}
```

nginx转发

```http
POST HTTP://133.96.94.108:12120/sms/blacklist/api/query/
Content-Type: application/json

{
    "phoneNumber": "13231899751",
    "fromSystem": "test"
}
```

- 黑名单解除接口

```http
POST HTTP://192.168.70.130:12120/sms/blacklist/api/remove/
Content-Type: application/json

{
    "phone": "13231899751",
    "fromSystem": "test",
    "operator": "test01"
}
```

- nginx转发

```http
POST HTTP://133.96.94.108:12120/sms/blacklist/api/remove/
Content-Type: application/json

{
    "phone": "13231899751",
    "fromSystem": "test",
    "operator": "test01"
}
```
