REM:
1. 修改获取能力节点列表出参中name和ip字段不为空的问题
This commit is contained in:
chenlinghy 2020-05-14 16:20:10 +08:00
parent e3116de50d
commit 1879833b71
1 changed files with 3 additions and 2 deletions

View File

@ -515,10 +515,11 @@ public class DisposeNodeInfoController {
} else {
DisposeNodeData dpData = new DisposeNodeData();
dpData.setId(v);
dpData.setName("Not Found");
dpData.setIp("Not Found");
dpData.setStatus(ErrorCode.ERR_NOSUCHDEVICE.getCode());
dpData.setMessage(ErrorCode.ERR_NOSUCHDEVICE.getMsg());
rspInfo.getItems()
.add(dpData);
rspInfo.getItems().add(dpData);
}
}
}