475 时机礼包-客户端
1.修复礼包今日是否触发过只判定了日没判定月和年的bug
2.修复从服务端恢复当前正在展示的礼包传错参的bug
| | |
| | | int type = item.Key; |
| | | int time = item.Value; |
| | | var timeData = TimeUtility.GetTime((uint)time); |
| | | if (timeData.Day == TimeUtility.ServerNow.Day) |
| | | DateTime nowTime = TimeUtility.ServerNow; |
| | | if (timeData.Day == nowTime.Day && timeData.Month == nowTime.Month && timeData.Year == nowTime.Year) |
| | | { |
| | | cnt += 1; |
| | | } |
| | |
| | | continue; |
| | | isChange = true; |
| | | showGiftIdList.Add(id); |
| | | lastTriggerTimeDict[id] = TimeUtility.AllSeconds; |
| | | lastTriggerTimeDict[config.GiftType] = TimeUtility.AllSeconds; |
| | | } |
| | | |
| | | if (isChange) |