|
@@ -14,14 +14,42 @@ Content-Type: application/json
|
|
|
|
|
|
## 接口2: 黑名单解除接口
|
|
|
|
|
|
+- 本地访问
|
|
|
+
|
|
|
```http
|
|
|
-POST HTTP://127.0.0.1:12110/sms/blacklist/api/remove/
|
|
|
+POST HTTP://127.0.0.1:12120/sms/blacklist/api/remove/
|
|
|
Content-Type: application/json
|
|
|
|
|
|
{
|
|
|
- "phoneNumber": "13231899751",
|
|
|
+ "phone": "13739798862",
|
|
|
+ "fromSystem": "test",
|
|
|
+ "operator": "test01"
|
|
|
+}
|
|
|
+```
|
|
|
+
|
|
|
+- 正式环境
|
|
|
+
|
|
|
+```http
|
|
|
+POST HTTP://133.96.94.108:12120/sms/blacklist/api/remove/
|
|
|
+Content-Type: application/json
|
|
|
+
|
|
|
+{
|
|
|
+ "phone": "13739798862",
|
|
|
+ "fromSystem": "test",
|
|
|
+ "operator": "test01"
|
|
|
+}
|
|
|
+```
|
|
|
+
|
|
|
+- 测试环境
|
|
|
+
|
|
|
+```http
|
|
|
+POST HTTP://133.96.94.108:12110/sms/blacklist/api/remove/
|
|
|
+Content-Type: application/json
|
|
|
+
|
|
|
+{
|
|
|
+ "phone": "13739798862",
|
|
|
"fromSystem": "test",
|
|
|
- "operatorId": "test01"
|
|
|
+ "operator": "test01"
|
|
|
}
|
|
|
```
|
|
|
|
|
@@ -42,3 +70,22 @@ Connection: close
|
|
|
}
|
|
|
}
|
|
|
```
|
|
|
+
|
|
|
+```json
|
|
|
+HTTP/1.1 200
|
|
|
+Content-Type: application/json
|
|
|
+Transfer-Encoding: chunked
|
|
|
+Date: Wed, 03 Aug 2022 01:10:35 GMT
|
|
|
+Connection: close
|
|
|
+
|
|
|
+{
|
|
|
+ "success": true,
|
|
|
+ "code": 200,
|
|
|
+ "message": "成功",
|
|
|
+ "data": {
|
|
|
+ "delBlkSuccess": false,
|
|
|
+ "delBlkMessage": "解除黑名单失败"
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+```
|