Explorar o código

运营中心开机奖励发放

lcl hai 1 ano
pai
achega
b3f8e64d78
Modificáronse 1 ficheiros con 7 adicións e 7 borrados
  1. 7 7
      AppStart/Helper/StatService.cs

+ 7 - 7
AppStart/Helper/StatService.cs

@@ -1171,7 +1171,7 @@ namespace MySystem
                                             string ParentNav = function.CheckNull(user.ParentNav) + "," + user.Id + ",";
                                             if (!string.IsNullOrEmpty(ParentNav))
                                             {
-                                                decimal Prize = 0;
+                                                decimal Prize = 20;
                                                 if(pos.BrandId == 14)
                                                 {
                                                     Prize = 19 * 0.3M;
@@ -1189,12 +1189,12 @@ namespace MySystem
                                                         if(puser.UserType > 0)
                                                         {
                                                             bool leaderOp = true;
-                                                            if(puser.LeaderLevel > 0 && puser.UserType == 0)
-                                                            {
-                                                                DateTime now = DateTime.Now;
-                                                                leaderOp = db.Leaders.Any(m => m.Id == puser.Id && m.ExpiredDate >= now);
-                                                                function.WriteLog("条件:leaderOp:" + leaderOp, "开机奖励发放日志");
-                                                            }
+                                                            // if(puser.LeaderLevel > 0 && puser.UserType == 0)
+                                                            // {
+                                                            //     DateTime now = DateTime.Now;
+                                                            //     leaderOp = db.Leaders.Any(m => m.Id == puser.Id && m.ExpiredDate >= now);
+                                                            //     function.WriteLog("条件:leaderOp:" + leaderOp, "开机奖励发放日志");
+                                                            // }
                                                             if(leaderOp)
                                                             {
                                                                 function.WriteLog("满足条件", "开机奖励发放日志");