Authored by qinchao

pch5切换

... ... @@ -105,8 +105,11 @@ public class OuterIntfCtrl {
*/
@RequestMapping("/getPch5NodeHostUnderAz2")
@ResponseBody
public List<String> getPch5NodeHostUnderAz2() {
return httpClient.defaultPost("/pch5Switch/getPch5NodeHostUnderAz2",null,List.class);
public String getPch5NodeHostUnderAz2() {
List<String> nodeHostIps= httpClient.defaultPost("/pch5Switch/getPch5NodeHostUnderAz2",null,List.class);
Map<String,List<String>> map=new HashMap<>();
map.put("host",nodeHostIps);
return JSON.toJSONString(map);
}
/**
... ...