Authored by qinchao

添加@ResponseBody,修改bug

... ... @@ -106,6 +106,7 @@ public class CenterSwitchCtrl {
}
@RequestMapping("/doExeAndCheck")
@ResponseBody
public BaseResponse doExeAndCheck(CenterSwitchModel centerSwitchModel){
BaseResponse baseResponse = httpClient.defaultPost(HttpUriContants.CENTERSWITCH_SWITCH_CHECK, centerSwitchModel, BaseResponse.class);
return baseResponse;
... ... @@ -124,6 +125,7 @@ public class CenterSwitchCtrl {
}
@RequestMapping("/checkStatus")
@ResponseBody
public BaseResponse checkStatus(CenterSwitchModel centerSwitchModel){
BaseResponse baseResponse = httpClient.defaultPost(HttpUriContants.CENTERSWITCH_STATUS, centerSwitchModel, BaseResponse.class);
return baseResponse;
... ...