|
@@ -20,7 +20,7 @@ namespace Cache.Cache
|
|
|
{
|
|
|
list = KJBLL.GetLotteryListAsync();
|
|
|
if (list != null)
|
|
|
- BaseCache.Add(key, list, 600);
|
|
|
+ BaseCache.Add(key, list, 20);
|
|
|
}
|
|
|
return list;
|
|
|
|
|
@@ -44,7 +44,7 @@ namespace Cache.Cache
|
|
|
model = KJBLL.GetLotteryDataAsync(lotteryType);
|
|
|
|
|
|
if (model != null)
|
|
|
- BaseCache.Add(key, model, 600);
|
|
|
+ BaseCache.Add(key, model, 20);
|
|
|
}
|
|
|
return model;
|
|
|
}
|
|
@@ -208,7 +208,7 @@ namespace Cache.Cache
|
|
|
{
|
|
|
list = KJBLL.GetLotteryList(lotterytype, day);
|
|
|
if (list != null)
|
|
|
- BaseCache.Add(key, list, 600);
|
|
|
+ BaseCache.Add(key, list, 20);
|
|
|
}
|
|
|
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, 600);
|
|
|
+ BaseCache.Add(key, list, 20);
|
|
|
}
|
|
|
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, 600);
|
|
|
+ BaseCache.Add(key, list, 20);
|
|
|
}
|
|
|
if (list == null)
|
|
|
{
|