diff --git a/src/CloudGaming/Code/CloudGaming.Code/Other/SevenSignBLL.cs b/src/CloudGaming/Code/CloudGaming.Code/Other/SevenSignBLL.cs index 54037d8..9f684d4 100644 --- a/src/CloudGaming/Code/CloudGaming.Code/Other/SevenSignBLL.cs +++ b/src/CloudGaming/Code/CloudGaming.Code/Other/SevenSignBLL.cs @@ -61,7 +61,7 @@ public class SevenSignBLL : CloudGamingBase } sevenDays.List.Add(sevenDay); } - + sevenDays.IsSign = isSignSevenDay; return sevenDays; } diff --git a/src/CloudGaming/Model/CloudGaming.DtoModel/Mall/ProductType.cs b/src/CloudGaming/Model/CloudGaming.DtoModel/Mall/ProductType.cs index 1723d9a..ede903f 100644 --- a/src/CloudGaming/Model/CloudGaming.DtoModel/Mall/ProductType.cs +++ b/src/CloudGaming/Model/CloudGaming.DtoModel/Mall/ProductType.cs @@ -14,10 +14,10 @@ public enum ProductType /// /// /// - 钻石商城 = 0, + 钻石商城 = 1, /// /// /// - 包夜卡 = 1, + 包夜卡 = 2, } \ No newline at end of file diff --git a/src/CloudGaming/Model/CloudGaming.DtoModel/SevenSign/SevenDay.cs b/src/CloudGaming/Model/CloudGaming.DtoModel/SevenSign/SevenDay.cs index 27158f8..354ce81 100644 --- a/src/CloudGaming/Model/CloudGaming.DtoModel/SevenSign/SevenDay.cs +++ b/src/CloudGaming/Model/CloudGaming.DtoModel/SevenSign/SevenDay.cs @@ -1,3 +1,5 @@ +using HuanMeng.DotNetCore.AttributeExtend; + using System; using System.Collections.Generic; using System.Linq; @@ -25,6 +27,7 @@ public class SevenDay /// /// 签到图片 /// + [Images] public int Image { get; set; } /// diff --git a/src/CloudGaming/Utile/HuanMeng.DotNetCore/CacheHelper/CommonDataEntityCache.cs b/src/CloudGaming/Utile/HuanMeng.DotNetCore/CacheHelper/CommonDataEntityCache.cs index 5764552..bc7fac4 100644 --- a/src/CloudGaming/Utile/HuanMeng.DotNetCore/CacheHelper/CommonDataEntityCache.cs +++ b/src/CloudGaming/Utile/HuanMeng.DotNetCore/CacheHelper/CommonDataEntityCache.cs @@ -154,6 +154,7 @@ public abstract class RedisDataEntityCache : CommonDataEntityCache where T database.StringSet(key, tempDataList, TimeSpan.FromSeconds(cacheTime)); } _dataList = JsonConvert.DeserializeObject>(JsonConvert.SerializeObject(tempDataList)); + database.KeyDeleteAsync($"lock:{key}").Wait(); } else { @@ -169,7 +170,7 @@ public abstract class RedisDataEntityCache : CommonDataEntityCache where T } } } - + _dataList = tempDataList; } return _dataList ?? new List(); }