public ActionResult GetAnchorReportPage(PageParm parm) { int totalCount = 0; var sumModel = new IncomeTemplateModel(); var res = sysUserAnchorLogic.GetAnchorReportPage(parm, ref totalCount, ref sumModel); var result = new { code = 0, msg = "success", data = res, count = totalCount,// pageData.Count totalRow = new { hour_income = sumModel.hour_income.ToString(), agent_income = sumModel.agent_income.ToString(), tip_income = sumModel.tip_income.ToString(), Platform_income = sumModel.Platform_income.ToString(), agentHour_income = sumModel.agentHour_income.ToString(), livetime = sumModel.livetime.ToString() } }; return(Content(result.ToJson())); }