private void InitRedis()
        {
            if (RedisAddress.Count <= 0)
            {
                Console.WriteLine("hello Debug Develop");
                RedisAddress.Add("127.0.0.1:6379");
            }

            RedisIns = new RedisExChangeHelper(RedisAddress, Password: RedisPassword);
        }
예제 #2
0
        /// <summary>
        /// 初始化 Redis 用户Key ID生成器
        /// </summary>
        /// <returns></returns>
        protected bool InitRedis()
        {
            if (RedisAddress.Count <= 0)
            {
                Console.WriteLine("hello Debug Develop");
                RedisAddress.Add("127.0.0.1:10110");
            }

            RedisIns = new RedisExChangeHelper(RedisAddress, Password: RedisPassword);
            return(true);
        }