REM:
1. 更新启动处置接口
This commit is contained in:
chenlinghy 2020-08-31 16:55:57 +08:00
parent 1a5c1eb76f
commit 2f9b78df23
1 changed files with 25 additions and 11 deletions

View File

@ -642,27 +642,41 @@
Request URI|dispose/task/start
Content type|application/json;charset=UTF-8
Authorization|"Bearer b8f01b8303cd9fcb7d3c9ed1b1c54d4a6e04bac3a66ab7df6ba81f690882ca2e"
Body|{"ver":2,"cryptoType":0,"timeStamp":1587604296988,"msgContent":"{\"id\":-1,\"type\":0, \"disposeIp\":\"192.168.3.2\", \"disposeTime\":120}"}
Body|{"ver":3,"cryptoType":0,"timeStamp":1598597142580,"msgContent":"{\"type\":0, \"disposeIp\":\"192.168.5.3\", \"disposeTime\":10, \"flowDirection\":2, \"attackType\":[1]}"}
```json
{
"ver": 2,
"ver": 3,
"cryptoType": 0,
"timeStamp": 1587604296988,
"msgContent": "{\"id\":-1,\"type\":0, \"disposeIp\":\"192.168.3.2\", \"disposeTime\":120}"}
"timeStamp": 1598597142580,
"msgContent": {
"type": 0,
"disposeIp": "192.168.5.3",
"disposeTime": 10,
"flowDirection": 2,
"attackType": [
1
]
}
}
```
+ 响应消息
字段|内容
----|----
Content type|application/json;charset=UTF-8
Body|{"ver":2,"cryptoType":0,"timeStamp":1589421147343,"code":200,"msgContent":"{\"id\":\"1\",\"taskId\":\"60\",\"expireTime\":0,\"status\":0,\"message\":\"成功\"}"}
Body|{"ver":3,"cryptoType":0,"timeStamp":1598863603232,"code":200,"msgContent":"{\"taskId\":\"75\",\"status\":0,\"message\":[\"成功\"]}"}
```json
{
"ver": 2,
"ver": 3,
"cryptoType": 0,
"timeStamp": 1589421147343,
"timeStamp": 1598863603232,
"code": 200,
"msgContent": "{\"id\":\"1\",\"taskId\":\"60\",\"expireTime\":0,\"status\":0,\"message\":\"成功\"}"
"msgContent": {
"taskId": "75",
"status": 0,
"message": [
"成功"
]
}
}
```