...
|
...
|
@@ -60,10 +60,11 @@ public class MysqlMonitorCtrl { |
|
|
|
|
|
@RequestMapping(value="/downMhaNode",method = RequestMethod.POST)
|
|
|
@ResponseBody
|
|
|
public BaseResponse downMhaNode(String app,String ip) {
|
|
|
public BaseResponse downMhaNode(String app,String ip,String port) {
|
|
|
Map<String,String> map=new HashMap<>();
|
|
|
map.put("ip",ip);
|
|
|
map.put("app",app);
|
|
|
map.put("ip",ip);
|
|
|
map.put("port",port);
|
|
|
return httpRestClient.defaultGet(HttpUriContants.MYSQL_MONITOR_DOWN_MHA_NODE,BaseResponse.class,map);
|
|
|
}
|
|
|
} |
...
|
...
|
|