//重载数据 public async Task <ResultListData <LayuiData> > pageReloadList(ArguPage arguPage) { var result = new ResultListData <LayuiData>() { data = new List <LayuiData>(), code = 0, msg = "", count = 100 }; LayuiDataRepository layuiDataRepository = new LayuiDataRepository(); result.data = await layuiDataRepository.GetListReload(arguPage.page, arguPage.limit); return(result); }
public async Task <IActionResult> pageReloadTest(ArguPage arguPage) { ServerDispatch serverDispatch = new ServerDispatch(); return(Json(await serverDispatch.pageReloadList(arguPage))); }
public async Task <IActionResult> pageTest(ArguPage arguPage) { ServerDispatch valuesDispatch = new ServerDispatch(); return(Json(await valuesDispatch.pagelist(arguPage))); }