using System; using System.Web; namespace CCFlow.DataUser.API { /// /// 操作结果封装 /// public class OperateResult { /// /// 状态 /// public int State { get; set; } /// /// 消息 /// public string Message { get; set; } /// /// 操作结果 /// public object Data { get; set; } /// /// 初始化 /// /// 状态 /// 消息 /// 操作结果 public OperateResult(int state, string message, object data = null) { this.State = state; this.Message = message; this.Data = data; } } }