示例#1
0
        public JsonResult GetPages(PageParm parm)
        {
            parm.site = SiteTool.CurrentSite?.Guid;
            var res = _downloadService.GetList(parm);

            return(Json(new { code = 0, msg = "success", count = res.TotalItems, data = res.Items }));
        }
示例#2
0
        public IActionResult GetPages([FromQuery] PageParm parm)
        {
            parm.site = SiteGuid;
            var res = _downloadService.GetList(parm);

            return(Ok(new { code = 0, msg = "success", count = res.TotalItems, data = res.Items }));
        }
示例#3
0
        public JsonResult GetPages(PageParm parm)
        {
            var res = _downloadService.GetList(parm);

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