using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace WIP_Models { public struct ResCode { /// /// 成功 /// public const string SUCCESS = "00000"; /// /// 失败 /// public const string FAILURE = "00001"; /// /// 超时 /// public const string OUTTIME = "00002"; /// /// 通信异常 /// public const string COMMUNICATIONEXCEPTION = "00003"; /// /// 参数不能为空 /// public const string PARAMETERNOEMPTY = "01001"; /// /// 参数错误 /// public const string PARAMETERERROR = "01002"; } public struct ResMsg { /// /// 成功 /// public const string SUCCESS = "成功"; /// /// 失败 /// public const string FAILURE = "失败"; /// /// 超时 /// public const string OUTTIME = "超时"; /// /// 通信异常 /// public const string COMMUNICATIONEXCEPTION = "通信异常"; /// /// 参数不能为空 /// public const string PARAMETERNOEMPTY = "参数不能为空"; /// /// 参数错误 /// public const string PARAMETERERROR = "参数错误"; } }