Browse Source

开机奖励发放,新规则,判断盟主是否过期

lcl 7 months ago
parent
commit
7dea71edfc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      AppStart/Helper/StatService.cs

+ 1 - 1
AppStart/Helper/StatService.cs

@@ -1291,7 +1291,7 @@ namespace MySystem
                                                     if(posItem.UserId > 0)
                                                     {
                                                         UserRankItem puser = PosCouponPrizeService.Instance.GetUserLevel(posItem.UserId);
-                                                        if (puser.Id > 0 && Prize > 0)
+                                                        if (puser.Id > 0 && (puser.LeaderLevel > 0 || puser.OperateLevel > 0) && Prize > 0)
                                                         {
                                                             bool op = false;
                                                             foreach(int CheckUserId in CheckUserIds)