dengch 6 سال پیش
والد
کامیت
7aef9909f2
1فایلهای تغییر یافته به همراه5 افزوده شده و 5 حذف شده
  1. 5 5
      Cache/Cache/LotteryCache.cs

+ 5 - 5
Cache/Cache/LotteryCache.cs

@@ -20,7 +20,7 @@ namespace Cache.Cache
             {
                 list = KJBLL.GetLotteryListAsync();
                 if (list != null)
-                    BaseCache.Add(key, list, 20);
+                    BaseCache.Add(key, list, 60);
             }
             return list;
             
@@ -44,7 +44,7 @@ namespace Cache.Cache
                 model = KJBLL.GetLotteryDataAsync(lotteryType);
 
                 if (model != null)
-                    BaseCache.Add(key, model, 20);
+                    BaseCache.Add(key, model, 60);
             }
             return model;
         }
@@ -208,7 +208,7 @@ namespace Cache.Cache
             {
                 list = KJBLL.GetLotteryList(lotterytype, day);
                 if (list != null)
-                    BaseCache.Add(key, list, 20);
+                    BaseCache.Add(key, list, 60);
             }
             var rulelist = TJDataCache.GetDataItemModelCache();
             for (int i = 0; i < list.Count; i++)
@@ -244,7 +244,7 @@ namespace Cache.Cache
             {
                 list = KJBLL.GetLotteryList(lotterytype, queryParam);
                 if (list != null)
-                    BaseCache.Add(key, list, 20);
+                    BaseCache.Add(key, list, 60);
             }
             var rulelist = TJDataCache.GetDataItemModelCache();
             for (int i = 0; i < list.Count; i++)
@@ -272,7 +272,7 @@ namespace Cache.Cache
             {
                 list = KJBLL.GetTopNumList(lottery, order, count, isdesc);
                 if (list != null)
-                    BaseCache.Add(key, list, 20);
+                    BaseCache.Add(key, list, 60);
             }
             if (list == null)
             {