1 namespace WebAPI.Uril 2 { 3 /// <summary> 4 /// 层之间的传输消息 5 /// </summary> 6 public class APIMsg 7 { 8 /// <summary> 9 /// 是否成功 10 /// </summary> 11 //public bool IsSuccess { get; set; } 12 /// <summary> 13 /// 是否成功-多状态(0:正常数据 / -1:失败) 14 /// </summary> 15 public int Code { get; set; } 16 17 /// <summary> 18 /// 返回消息 19 /// </summary> 20 public string ResMsg { get; set; } 21 /// <summary> 22 /// 返回数据 23 /// </summary> 24 public string ResData { get; set; } 25 26 /// <summary> 27 /// 扩展-是否完全执行 28 /// </summary> 29 public bool IsCompress { get; set; } 30 } 31 }