Shuxia Ning
2024-08-12 efd77ebcc08949196b32c254ffbb5ad35fb04711
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
namespace Yw.Vmo
{
    /// <summary>
    /// 内部错误编码
    /// </summary>
    public enum InternalErrorCodes
    {
        #region 权限错误
 
        /// <summary>
        /// 操作权限
        /// </summary>
        A001,
 
 
        /// <summary>
        /// 权限验证
        /// </summary>
        A099,
 
        #endregion
 
        #region 数值型错误
 
        /// <summary>
        /// 数值不能小于
        /// </summary>
        R001,
 
        /// <summary>
        /// 数值必须大于
        /// </summary>
        R002,
 
        #endregion
 
        #region 字符串型错误
 
        /// <summary>
        /// 字符串不能为空
        /// </summary>
        S001,
 
        #endregion
 
        #region 数据型错误
 
        /// <summary>
        /// 数据不存在
        /// </summary>
        D001,
 
        /// <summary>
        /// 数据格式错误
        /// </summary>
        D002,
 
        /// <summary>
        /// 数据库操作错误
        /// </summary>
        D003,
 
        /// <summary>
        /// 删除错误
        /// </summary>
        D999,
 
        #endregion
 
        #region 验证型错误
 
        /// <summary>
        /// 验证性错误
        /// </summary>
        V001,
 
        /// <summary>
        /// 账号已被注册
        /// </summary>
        V002,
 
        #endregion
 
        #region 逻辑型错误
 
        /// <summary>
        /// 逻辑型错误
        /// </summary>
        L001,
 
        #endregion
 
        #region 参数错误
 
        /// <summary>
        /// 参数错误
        /// </summary>
        P001,
 
        #endregion
 
 
 
    }
 
}