示例#1
0
        public async Task <JsonResult> GetPages(PageParm parm)
        {
            var res = await _settingService.GetPagesAsync(parm, m => !m.IsDel, m => m.UpdateDate, DbOrderEnum.Desc);

            return(Json(new { code = 0, msg = "success", count = res.data.TotalItems, data = res.data.Items }));
        }