private string Getppaptest(string gname) { Json jsonResult = new Json(); //int pageId = RequestUtil.GetInt("pid", 1); //int pageSize = RequestUtil.GetInt("psize", 10); //string gname = RequestUtil.GetString("id"); try { var list = ms.dtTypebyid(gname); jsonResult.Success = true; jsonResult.Msg = ""; jsonResult.Result = list; jsonResult.PageCount = 10; jsonResult.RowCount = 100; } catch (Exception ex) { jsonResult.Success = false; jsonResult.Msg = "获取用户分页列表异常:" + ex.Message; } string strJson = JsonConvert.SerializeObject(jsonResult); return(strJson); }