Example #1
0
        public async Task <JsonResult> GetGoodsPages(PageParm parm)
        {
            var res = await _goodsService.GetPagesAsync(parm);

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