| | |
| | | /// <summary> |
| | | /// |
| | | /// </summary> |
| | | public bool bSucc { get; set; } |
| | | public bool BSucc { get; set; } |
| | | /// <summary> |
| | | /// |
| | | /// </summary> |
| | |
| | | /// </summary> |
| | | public string Contacts { get; set; } |
| | | } |
| | | |
| | | public static MesResponseContent Instance |
| | | { |
| | | get { return new MesResponseContent(); } |
| | | } |
| | | |
| | | public MesResponseContent OK(string message = null) |
| | | { |
| | | BSucc = true; |
| | | StrCode = "0000"; |
| | | StrMsg = message == null ? "鎵ц鎴愬姛" : message; |
| | | return this; |
| | | } |
| | | |
| | | public MesResponseContent Error(string message = null) |
| | | { |
| | | BSucc = false; |
| | | StrCode = "404"; |
| | | StrMsg = message == null ? "鎵ц澶辫触" : message; |
| | | return this; |
| | | } |
| | | } |
| | | } |