Showing
2 changed files
with
5 additions
and
3 deletions
@@ -60,10 +60,11 @@ public class MysqlMonitorCtrl { | @@ -60,10 +60,11 @@ public class MysqlMonitorCtrl { | ||
60 | 60 | ||
61 | @RequestMapping(value="/downMhaNode",method = RequestMethod.POST) | 61 | @RequestMapping(value="/downMhaNode",method = RequestMethod.POST) |
62 | @ResponseBody | 62 | @ResponseBody |
63 | - public BaseResponse downMhaNode(String app,String ip) { | 63 | + public BaseResponse downMhaNode(String app,String ip,String port) { |
64 | Map<String,String> map=new HashMap<>(); | 64 | Map<String,String> map=new HashMap<>(); |
65 | - map.put("ip",ip); | ||
66 | map.put("app",app); | 65 | map.put("app",app); |
66 | + map.put("ip",ip); | ||
67 | + map.put("port",port); | ||
67 | return httpRestClient.defaultGet(HttpUriContants.MYSQL_MONITOR_DOWN_MHA_NODE,BaseResponse.class,map); | 68 | return httpRestClient.defaultGet(HttpUriContants.MYSQL_MONITOR_DOWN_MHA_NODE,BaseResponse.class,map); |
68 | } | 69 | } |
69 | } | 70 | } |
-
Please register or login to post a comment