Authored by qinchao

down mha

... ... @@ -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);
}
}
... ...
... ... @@ -272,7 +272,8 @@
var param = {
app:cfgName,
ip:ip
ip:ip,
port:port
};
$.ajax({
... ...