瀏覽代碼

分润bug修复

lcl 1 月之前
父節點
當前提交
670d625eba

+ 1 - 1
Util/HaoDa/ProfitAfterHelper.cs

@@ -118,7 +118,7 @@ namespace MySystem
                     {
                         uidstring = us.PidPath.Trim(',').Replace(",,", ",") + "," + uidstring;
                         string[] parents = us.PidPath.Trim(',').Replace(",,", ",").Split(',');
-                        if (parents.Length > 1)
+                        if (parents.Length > 2)
                         {
                             TopUserId = int.Parse(function.CheckInt(parents[1]));
                         }

+ 1 - 1
Util/HaoDa/ProfitAfterNewHelper.cs

@@ -118,7 +118,7 @@ namespace MySystem
                     {
                         uidstring = us.PidPath.Trim(',').Replace(",,", ",") + "," + uidstring;
                         string[] parents = us.PidPath.Trim(',').Replace(",,", ",").Split(',');
-                        if (parents.Length > 1)
+                        if (parents.Length > 2)
                         {
                             TopUserId = int.Parse(function.CheckInt(parents[1]));
                         }

+ 1 - 1
Util/HaoDa/ProfitBeforeHelper.cs

@@ -118,7 +118,7 @@ namespace MySystem
                     {
                         uidstring = us.PidPath.Trim(',').Replace(",,", ",") + "," + uidstring;
                         string[] parents = us.PidPath.Trim(',').Replace(",,", ",").Split(',');
-                        if (parents.Length > 1)
+                        if (parents.Length > 2)
                         {
                             TopUserId = int.Parse(function.CheckInt(parents[2]));
                         }

+ 1 - 1
Util/HaoDa/ProfitBeforeNewHelper.cs

@@ -118,7 +118,7 @@ namespace MySystem
                     {
                         uidstring = us.PidPath.Trim(',').Replace(",,", ",") + "," + uidstring;
                         string[] parents = us.PidPath.Trim(',').Replace(",,", ",").Split(',');
-                        if (parents.Length > 1)
+                        if (parents.Length > 2)
                         {
                             TopUserId = int.Parse(function.CheckInt(parents[2]));
                         }