using System.ComponentModel; namespace New_College.Model { public enum ResponseEnum { /// /// 无权限 /// [Description("无权限")] NoPermissions = 401, /// /// 找不到指定资源 /// [Description("找不到指定资源")] NoFound = 404, /// /// 找不到指定资源 /// [Description("服务器错误")] ServerError = 500 } public enum PlatformTypeEnum { /// /// 微信公众号 /// [Description("微信公众号")] 微信公众号 = 1, /// /// 微信小程序 /// [Description("微信小程序")] 微信小程序 = 2, /// /// QQ /// [Description("QQ")] QQ = 3, /// /// 支付宝 /// [Description("支付宝")] Alipay = 4, } public enum LoginModeEnum { /// /// PC模式 /// [Description("PC模式")] PC = 1, /// /// APP /// [Description("APP")] APP = 2 } }