using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Yi.Framework.Core.Enums { /// /// API返回状态码枚举 /// /// /// 定义API接口统一的返回状态码 /// 遵循HTTP状态码规范 /// public enum ResultCodeEnum { /// /// 操作成功 /// Success = 200, /// /// 未授权访问 /// NoPermission = 401, /// /// 访问被拒绝 /// Denied = 403, /// /// 操作失败 /// NotSuccess = 500 } }