修改问题
This commit is contained in:
parent
79b8822acc
commit
d46ca8d9f1
|
|
@ -61,7 +61,7 @@ public class SevenSignBLL : CloudGamingBase
|
|||
}
|
||||
sevenDays.List.Add(sevenDay);
|
||||
}
|
||||
|
||||
sevenDays.IsSign = isSignSevenDay;
|
||||
return sevenDays;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -14,10 +14,10 @@ public enum ProductType
|
|||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
钻石商城 = 0,
|
||||
钻石商城 = 1,
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
包夜卡 = 1,
|
||||
包夜卡 = 2,
|
||||
|
||||
}
|
||||
|
|
@ -1,3 +1,5 @@
|
|||
using HuanMeng.DotNetCore.AttributeExtend;
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
|
|
@ -25,6 +27,7 @@ public class SevenDay
|
|||
/// <summary>
|
||||
/// 签到图片
|
||||
/// </summary>
|
||||
[Images]
|
||||
public int Image { get; set; }
|
||||
|
||||
/// <summary>
|
||||
|
|
|
|||
|
|
@ -154,6 +154,7 @@ public abstract class RedisDataEntityCache<T> : CommonDataEntityCache<T> where T
|
|||
database.StringSet(key, tempDataList, TimeSpan.FromSeconds(cacheTime));
|
||||
}
|
||||
_dataList = JsonConvert.DeserializeObject<List<T>>(JsonConvert.SerializeObject(tempDataList));
|
||||
database.KeyDeleteAsync($"lock:{key}").Wait();
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
@ -169,7 +170,7 @@ public abstract class RedisDataEntityCache<T> : CommonDataEntityCache<T> where T
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
_dataList = tempDataList;
|
||||
}
|
||||
return _dataList ?? new List<T>();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user