Blame view

Infrastructure/Response/IResponse.cs 531 Bytes
霍尔 authored
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
namespace Infrastructure
{
    /// <summary>
    /// Api响应实体类型
    /// </summary>
    public interface IResponse
    {
        /// <summary>
        /// 操作状态码,200为正常
        /// </summary>
        int Code { get; set; }
        /// <summary>
        /// 操作消息【当Status不为 200时,显示详细的错误信息】
        /// </summary>
        string Message { get; set; }
        /// <summary>
        /// 成功/失败
        /// </summary>
        bool Status { get; set; }
    }
}