12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- using System.ComponentModel;
- namespace Admin.Core.Enums
- {
-
-
-
- public enum StatusCodes
- {
-
-
-
- [Description("操作失败")]
- Status0NotOk = 0,
-
-
-
- [Description("操作成功")]
- Status1Ok = 1,
-
-
-
- [Description("未登录")]
- Status401Unauthorized = 401,
-
-
-
- [Description("权限不足")]
- Status403Forbidden = 403,
-
-
-
- [Description("资源不存在")]
- Status404NotFound = 404,
-
-
-
- [Description("系统内部错误")]
- Status500InternalServerError = 500
- }
- }
|