using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ObjectModel { /// /// 常量类 /// public class ConstClass { /// /// IPTV直播数据redis key --停用 /// public const string IPtvWarDataRedisKey = "IPtvWarData"; /// /// iptv直播数据的库 --停用 /// public const int IPtvWarReidsDB = 9; /// /// 不能同桌(通过设置IP)的redisKey /// public const string NoDeskMatesAllowedKey = "NoDeskMatesAllowedByIP"; /// /// 不能同桌的redis 库下标 /// public const int NoDeskMatesAllowedDBIdx = 9; /// /// 实名认证秘钥的redis Key /// public const string SMRSSecretKey = "SMRSSecretKey"; /// /// 获取红包积分Redis Key /// /// /// public static string GetRedMoneyKey(int userid) { return $"RedMoneyNew:{userid}"; } /// /// 获取需要平衡的用户信息 /// /// 服务器模块Id /// public static string GetBalanceKey(int modelId) { return $"ChangeCardSeat:{modelId}"; } } }