Browse Source

盟主过期发放打盟主奖励

lcl 2 years ago
parent
commit
85a82534a0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      AppStart/Helper/SycnSpServer/SycnSpTradeService.cs

+ 1 - 1
AppStart/Helper/SycnSpServer/SycnSpTradeService.cs

@@ -352,7 +352,7 @@ namespace MySystem
                                                 }
                                             }
                                             //发放大盟主奖励
-                                            if(pos.LeaderUserId > 0 && db.Leaders.Any(m => m.Id == pos.LeaderUserId && m.ExpiredDate < now))
+                                            if(pos.LeaderUserId > 0 && db.Leaders.Any(m => m.Id == pos.LeaderUserId && m.ExpiredDate > now))
                                             {
                                                 RedisDbconn.Instance.AddList("LeaderPrizeQueue", pos.Id);
                                             }