...
|
...
|
@@ -56,6 +56,12 @@ public class CenterSwitchCtrl { |
|
|
return new ModelAndView("switch/new_center_switch");
|
|
|
}
|
|
|
|
|
|
@RequestMapping("/switchMysqlCheckStatus")
|
|
|
public BaseResponse switchMysqlCheckStatus(){
|
|
|
BaseResponse baseResponse = httpClient.defaultPost(HttpUriContants.CENTERSWITCH_SWITCH_CHECK_MYSQL_STATUS, null, BaseResponse.class);
|
|
|
return baseResponse;
|
|
|
}
|
|
|
|
|
|
@RequestMapping("/doExeAndCheck")
|
|
|
public BaseResponse doExeAndCheck(CenterSwitchModel centerSwitchModel){
|
|
|
BaseResponse baseResponse = httpClient.defaultPost(HttpUriContants.CENTERSWITCH_SWITCH_CHECK, centerSwitchModel, BaseResponse.class);
|
...
|
...
|
|