public TransactionResult <GridPager <AppConfig> > GetPager(int page, int size, int appId) { TransactionResult <GridPager <AppConfig> > result = new TransactionResult <GridPager <AppConfig> >(); var serviceResult = AppConfigService.GetPager(new BaseModel.GridPagerPamater <RemoteConfig.Service.AppConfigSearchPamater>() { Current = page, PageSize = size, SearchPamater = new RemoteConfig.Service.AppConfigSearchPamater() { AppId = appId } }); if (serviceResult.ActionResult & serviceResult.HavingData) { result.Data = serviceResult; } else { result.Code = 103; result.Message = "暂无数据"; } return(result); }