|
@@ -613,6 +613,11 @@ namespace MySystem
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
int ParentUserId = user.ParentUserId;
|
|
int ParentUserId = user.ParentUserId;
|
|
|
|
+ LeaderRankWhite rank = db.LeaderRankWhite.FirstOrDefault(m => m.Id == order.UserId);
|
|
|
|
+ if(rank == null)
|
|
|
|
+ {
|
|
|
|
+ PreUserLevel(db, order.UserId, 1, DateTime.Now.AddYears(1));
|
|
|
|
+ }
|
|
// List<int> proids = new List<int>();
|
|
// List<int> proids = new List<int>();
|
|
// proids.Add(10);
|
|
// proids.Add(10);
|
|
// proids.Add(11);
|
|
// proids.Add(11);
|