Ejemplo n.º 1
0
        public static void Init_CTZQ_Issuse_Data()
        {
            string key = EntityModel.Redis.RedisKeys.Key_CTZQ_Issuse_List;

            foreach (var item in _CTZQType)//"T14C", "T4CJQ", "TR9", "T6BQC"
            {
                string reidskey = $"{key}_{item}";
                var    result   = Json_CTZQ.IssuseList(item);
                RedisHelperEx.DB_Match.Set(reidskey, result, 30 * 60);
            }
        }
Ejemplo n.º 2
0
        //public static void Set_Issuse_QueryInfo(Issuse_QueryInfoEX ex)
        //{

        //    lock (_Issuse_QueryInfo)
        //    {
        //        _Issuse_QueryInfo = ex;
        //    }
        //}


        //public static void ClearHashTable()
        //{
        //    _CTZQHt.Clear();
        //    _BJDCHt.Clear();
        //}

        /// <summary>
        /// 传统足球
        /// </summary>
        /// <param name="IssuseNumber"></param>
        public static void Init_CTZQ_Data(Issuse_QueryInfoEX ex)
        {
            string key = EntityModel.Redis.RedisKeys.Key_CTZQ_Match_Odds_List;

            ex = ex == null ? new Issuse_QueryInfoEX() : ex;
            foreach (var item in ex.CTZQ_IssuseNumber)
            {
                var    type     = item.GameCode_IssuseNumber.Split('|')[1];
                string reidskey = $"{key}_{type}_{item.IssuseNumber}";
                var    result   = Json_CTZQ.MatchList_WEB(item.IssuseNumber, type);
                RedisHelperEx.DB_Match.Set(reidskey, result, 30 * 60);
            }
        }