...
|
...
|
@@ -100,7 +100,7 @@ public class CenterSwitchCtrl { |
|
|
//第一步:执行响应的shell文件脚本(token校验再switchdb项目完成)
|
|
|
BaseResponse<String> mysqlResponse = httpRestClientService.postForObject(SWITCH_DB_URL + "/switchMysql", centerSwitchModel, BaseResponse.class);
|
|
|
if(mysqlResponse==null||200!=mysqlResponse.getCode()){
|
|
|
return mysqlResponse;
|
|
|
return new BaseResponse(201,"switch mysql 异常");
|
|
|
}
|
|
|
result1 = mysqlResponse.getData();
|
|
|
//第二步:查看第一步的执行的状态
|
...
|
...
|
|