...
|
...
|
@@ -60,12 +60,7 @@ public class ZkMonitorCtrl { |
|
|
if(list==null){
|
|
|
return new BaseResponse<PageResponse<ZkConfig>>();
|
|
|
}
|
|
|
PageResponse<ZkConfig> response = new PageResponse<ZkConfig>();
|
|
|
response.setCurrentPage(list.getCurrentPage());
|
|
|
response.setRows(list.getRows());
|
|
|
response.setPageSize(list.getPageSize());
|
|
|
response.setTotal(list.getTotal());
|
|
|
return new BaseResponse<PageResponse<ZkConfig>>(response);
|
|
|
return new BaseResponse<PageResponse<ZkConfig>>(list);
|
|
|
}
|
|
|
|
|
|
/**
|
...
|
...
|
@@ -82,12 +77,7 @@ public class ZkMonitorCtrl { |
|
|
if(list==null){
|
|
|
return new BaseResponse<PageResponse<ZkConfigAll>>();
|
|
|
}
|
|
|
PageResponse<ZkConfigAll> response = new PageResponse<ZkConfigAll>();
|
|
|
response.setCurrentPage(list.getCurrentPage());
|
|
|
response.setRows(list.getRows());
|
|
|
response.setPageSize(list.getPageSize());
|
|
|
response.setTotal(list.getTotal());
|
|
|
return new BaseResponse<PageResponse<ZkConfigAll>>(response);
|
|
|
return new BaseResponse<PageResponse<ZkConfigAll>>(list);
|
|
|
}
|
|
|
|
|
|
/**
|
...
|
...
|
|