using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace XdCxRhDw.Dto { /// /// Http接口返回泛型对象 /// public class AjaxResult { /// /// 返回对象 /// public T data { get; set; } /// /// 返回消息 /// public string msg { get; set; } = "ok"; /// /// 状态码.成功=200,失败=0 /// public int code { get; set; } = 200; } /// /// Http接口返回对象 /// public class AjaxResult { /// /// 返回对象 /// public object data { get; set; } /// /// 返回消息 /// public string msg { get; set; } = "ok"; /// /// 状态码.成功=200,失败=0 /// public int code { get; set; } = 200; } }