定义数据接口返回数据格式

为了规范数据返回格式,现在将结果约定为返回以下三个字段: Code,Msg,Data 定义result类: using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace MyBlogNew.Common { public class Result<T>
相关文章
相关标签/搜索