Browse Source

营训卡不能发盟主开机奖励

lcl 1 year ago
parent
commit
af2121f28f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      AppStart/Helper/SycnSpServer/SycnSpTradeService.cs

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

@@ -872,7 +872,7 @@ namespace MySystem
                 //清理预扣款
                 RedisDbconn.Instance.AddList("PosWithholdQueue", "{\"UserId\":\"" + pos.BuyUserId + "\",\"SnNo\":\"" + pos.PosSn + "\"}");
             }
-            if(pos.IsFirst == 1 && pos.ActivationState == 1 && pos.BindingTime.Value.AddDays(30) <= DateTime.Now && pos.BindingTime.Value.AddDays(60) > DateTime.Now && pos.CreditTrade >= 10000)
+            if(pos.IsFirst == 1 && pos.ActivationState == 1 && pos.BindingTime.Value.AddDays(30) <= DateTime.Now && pos.BindingTime.Value.AddDays(60) > DateTime.Now && pos.CreditTrade >= 10000 && pos.CardType < 100)
             {
                 RedisDbconn.Instance.AddList("LeaderRewardQueue", pos.Id.ToString());
                 // PxcModels.Users user = db.Users.FirstOrDefault(m => m.Id == pos.BuyUserId);