Exemple #1
0
 /// <summary>
 /// 构造函数
 /// </summary>
 /// <param name="_code">返回码</param>
 /// <param name="_msg">返回信息</param>
 /// <param name="_data">返回数据</param>
 public ReturnResult(ReturnResultEnum _code, string _msg, object _data)
 {
     this.code = (int)_code;
     this.msg  = _msg;
     this.data = _data;
 }
Exemple #2
0
 /// <summary>
 /// 构造函数
 /// </summary>
 /// <param name="_code">返回码</param>
 /// <param name="_msg">返回信息</param>
 public ReturnResult(ReturnResultEnum _code, string _msg)
 {
     this.code = (int)_code;
     this.msg  = _msg;
     this.data = "";
 }