测试

  private void WriteResult()
    {
        WriteJson(new
        {
            state = GetStateString(),
            list = FileList == null ? null : FileList.Select(x => new { url = x }),
            start = Start,
            size = Size,
            total = Total
        });
    }
View Code
原文地址:https://www.cnblogs.com/linbin524/p/5188704.html