Authored by qinchao

mysql主从同步校验

... ... @@ -96,7 +96,8 @@ public class CenterSwitchCtrl {
@RequestMapping("/switchMysqlCheckStatus")
@ResponseBody
public BaseResponse switchMysqlCheckStatus() {
BaseResponse<String> mysqlResponse = httpRestClientService.postForObject(SWITCH_DB_URL + "/switchCheckStatus", null, BaseResponse.class);
CenterSwitchModel centerSwitchModel=new CenterSwitchModel();
BaseResponse<String> mysqlResponse = httpRestClientService.postForObject(SWITCH_DB_URL + "/switchCheckStatus", centerSwitchModel, BaseResponse.class);
return mysqlResponse;
}
... ...