|
@@ -628,7 +628,7 @@ namespace MySystem
|
|
function.WriteLog("MakerCode:" + puser.MakerCode, "推荐下单奖励监控日志");
|
|
function.WriteLog("MakerCode:" + puser.MakerCode, "推荐下单奖励监控日志");
|
|
function.WriteLog("machineCount:" + machineCount, "推荐下单奖励监控日志");
|
|
function.WriteLog("machineCount:" + machineCount, "推荐下单奖励监控日志");
|
|
function.WriteLog("ActiveCount:" + ActiveCount, "推荐下单奖励监控日志");
|
|
function.WriteLog("ActiveCount:" + ActiveCount, "推荐下单奖励监控日志");
|
|
- if ((machineCount + ActiveCount + couponCount >= 3 || lkb_order || puser.LeaderLevel > 0) && !directPrize)
|
|
|
|
|
|
+ if (Utils.Instance.IsStandardUser(ParentUserId))
|
|
{
|
|
{
|
|
// function.WriteLog("满足条件", "推荐下单奖励监控日志");
|
|
// function.WriteLog("满足条件", "推荐下单奖励监控日志");
|
|
// if(puser.LeaderLevel == 0) // 非盟主直推奖励,每个创客第一次下单,上级可得
|
|
// if(puser.LeaderLevel == 0) // 非盟主直推奖励,每个创客第一次下单,上级可得
|
|
@@ -1280,7 +1280,7 @@ namespace MySystem
|
|
|
|
|
|
public void LeaderPreUserLevel(WebCMSEntities db, int UserId, int LeaderKind)
|
|
public void LeaderPreUserLevel(WebCMSEntities db, int UserId, int LeaderKind)
|
|
{
|
|
{
|
|
- int Month = LeaderKind == 1 ? 6 : 12;
|
|
|
|
|
|
+ int Month = LeaderKind == 1 ? 6 : 9;
|
|
int Rank = LeaderKind == 1 ? 5 : 7;
|
|
int Rank = LeaderKind == 1 ? 5 : 7;
|
|
LeaderRankWhite check = db.LeaderRankWhite.FirstOrDefault(m => m.Id == UserId);
|
|
LeaderRankWhite check = db.LeaderRankWhite.FirstOrDefault(m => m.Id == UserId);
|
|
if(check == null)
|
|
if(check == null)
|