You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
679 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MailSend.Web.Models
{
public class RespCommon
{
/// <summary>
/// 成功
/// </summary>
public const int RespCodeSuccess = 0;
/// <summary>
/// 参数错误
/// </summary>
public const int RespCodeParamError = -10;
/// <summary>
/// 服务器错误
/// </summary>
public const int RespCodeServerError = -100;
public bool Success { get; set; }
public string Message { get; set; }
public int Code { get; set; }
}
}