From 06bac38d743f3f99a294f20e5b02af6d53676b0b Mon Sep 17 00:00:00 2001
From: client_Hale <339726288@qq.com>
Date: 星期五, 21 九月 2018 14:38:00 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts
---
System/FriendSystem/MailAllModel.cs | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/System/FriendSystem/MailAllModel.cs b/System/FriendSystem/MailAllModel.cs
index 938afba..61414ad 100644
--- a/System/FriendSystem/MailAllModel.cs
+++ b/System/FriendSystem/MailAllModel.cs
@@ -475,8 +475,10 @@
}
StringBuilder todayDailySB = new StringBuilder();
+ List<int> dailyIdlist = new List<int>();
public string GetTodayDailyNotify(DateTime getTime)
{
+ dailyIdlist.Clear();
todayDailySB.Length = 0;
var dayOfWeek = (int)getTime.DayOfWeek;
var quests = dailyModel.GetQuestByWeekTime(dayOfWeek % 7);
@@ -487,6 +489,11 @@
int openTime = openTimelist[i];
for (int j = 0;j < quests[openTime].Count; j++)
{
+ if(dailyIdlist.Contains(quests[openTime][j]))
+ {
+ continue;
+ }
+ dailyIdlist.Add(quests[openTime][j]);
DailyQuestOpenTime dailyQuestOpenTime;
dailyModel.TryGetOpenTime(quests[openTime][j], out dailyQuestOpenTime);
if (dailyQuestOpenTime.IsValidServerOpenTime())
--
Gitblit v1.8.0