diff --git a/docs/api/node.md b/docs/api/node.md index 5e8e8f24..18c16ffe 100644 --- a/docs/api/node.md +++ b/docs/api/node.md @@ -18,6 +18,7 @@ | | 1.2.7导入映射表信息 | /api/node/link/importMappingList | SYS_AUTHORITY_ID_ADMIN | | | 1.2.8导出映射表信息 | /api/node/link/exportMappingList | SYS_AUTHORITY_ID_ADMIN | | | 1.2.9获取绑定设备树信息 | /api/node/link/getBindDeviceTree | SYS_AUTHORITY_ID_ADMIN | +| | 1.2.10保存测点信息 | /api/node/link/saveMappingList | SYS_AUTHORITY_ID_ADMIN | ## 1.1 节点相关接口 @@ -347,7 +348,8 @@ POST 请求接口 请求参数 ```json { - "linkId": "73556002258550784" + "linkId": "73556002258550784", + "type": 138 } ``` @@ -359,14 +361,10 @@ POST 请求接口 "code": 200, "success": true, "data": { - "id": "73560002258550784", - "linkId": "73556002258550784", - "equipmentId": "73556002258550784", - "equipmentAttribute": "hight", - "equipmentService": "ceshifangfa", - "porder": 1, - "params":"{bindAddr:127.0.0.1,bindPort:80,targetPort:443,targetAddr:114.114.114.114,socketType:1}", - "revision": 1 + "name": "hight", + "equipmentName": "ceshifangfa", + "equipmenId": "1788084346705514497", + "params":"{bindAddr:127.0.0.1,bindPort:80,targetPort:443,targetAddr:114.114.114.114,socketType:1}" }, "msg": "操作成功" } @@ -453,4 +451,31 @@ POST 请求接口 ], "msg": "操作成功" } +``` + +### 1.2.10 保存测点信息 +POST 请求接口 + +> /api/node/link/saveMappingList + +请求参数 +```json +{ + "linkId": "73556002258550784", + "equipmentId": "73714632985149440", + "type": 139, + "params": "{}" +} + +``` + + +返回报文 + +```json +{ + "code": 200, + "success": true, + "msg": "操作成功" +} ``` \ No newline at end of file