From 2f9b78df23b3a82f86a339feb9701f8edfef5763 Mon Sep 17 00:00:00 2001 From: chenlinghy Date: Mon, 31 Aug 2020 16:55:57 +0800 Subject: [PATCH] =?UTF-8?q?OCT=20REM:=201.=20=E6=9B=B4=E6=96=B0=E5=90=AF?= =?UTF-8?q?=E5=8A=A8=E5=A4=84=E7=BD=AE=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Readme.md | 36 +++++++++++++++++++++++++----------- 1 file changed, 25 insertions(+), 11 deletions(-) diff --git a/Readme.md b/Readme.md index 1ff3747b..06b8620b 100644 --- a/Readme.md +++ b/Readme.md @@ -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, - "cryptoType": 0, - "timeStamp": 1587604296988, - "msgContent": "{\"id\":-1,\"type\":0, \"disposeIp\":\"192.168.3.2\", \"disposeTime\":120}"} + "ver": 3, + "cryptoType": 0, + "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, - "cryptoType": 0, - "timeStamp": 1589421147343, - "code": 200, - "msgContent": "{\"id\":\"1\",\"taskId\":\"60\",\"expireTime\":0,\"status\":0,\"message\":\"成功\"}" + "ver": 3, + "cryptoType": 0, + "timeStamp": 1598863603232, + "code": 200, + "msgContent": { + "taskId": "75", + "status": 0, + "message": [ + "成功" + ] + } } ```