Beispiel #1
0
        //重载数据
        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);
        }
Beispiel #2
0
        public async Task <IActionResult> pageReloadTest(ArguPage arguPage)
        {
            ServerDispatch serverDispatch = new ServerDispatch();

            return(Json(await serverDispatch.pageReloadList(arguPage)));
        }
Beispiel #3
0
        public async Task <IActionResult> pageTest(ArguPage arguPage)
        {
            ServerDispatch valuesDispatch = new ServerDispatch();

            return(Json(await valuesDispatch.pagelist(arguPage)));
        }