|
@@ -312,6 +312,7 @@ namespace MySystem
|
|
}
|
|
}
|
|
db.Dispose();
|
|
db.Dispose();
|
|
}
|
|
}
|
|
|
|
+ //金控活动机返奖励
|
|
private void doJk30(WebCMSEntities db, PosMachinesTwo pos, PosMerchantInfo merchant, int GetUserId, string ParentNav, int TopUserId)
|
|
private void doJk30(WebCMSEntities db, PosMachinesTwo pos, PosMerchantInfo merchant, int GetUserId, string ParentNav, int TopUserId)
|
|
{
|
|
{
|
|
DateTime check = DateTime.Parse("2022-06-01 00:00:00");
|
|
DateTime check = DateTime.Parse("2022-06-01 00:00:00");
|
|
@@ -336,6 +337,8 @@ namespace MySystem
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ //无押金激活奖励
|
|
public void activePrizeWithoutDeposit(int posid = 0)
|
|
public void activePrizeWithoutDeposit(int posid = 0)
|
|
{
|
|
{
|
|
WebCMSEntities db = new WebCMSEntities();
|
|
WebCMSEntities db = new WebCMSEntities();
|
|
@@ -366,12 +369,13 @@ namespace MySystem
|
|
{
|
|
{
|
|
TopUserId = int.Parse(ParentNav.Trim(',').Replace(",,", ",").Split(',')[0]);
|
|
TopUserId = int.Parse(ParentNav.Trim(',').Replace(",,", ",").Split(',')[0]);
|
|
}
|
|
}
|
|
- if(pos.BrandId == 6)
|
|
|
|
|
|
+ if((pos.BrandId == 6 || pos.BrandId == 10 || pos.BrandId == 11) && pos.IsFirst == 1) //首台无押金机返50
|
|
{
|
|
{
|
|
doActiveReward(db, merchant, pos, GetUserId, ParentNav, TopUserId, 50);
|
|
doActiveReward(db, merchant, pos, GetUserId, ParentNav, TopUserId, 50);
|
|
}
|
|
}
|
|
else
|
|
else
|
|
{
|
|
{
|
|
|
|
+ //金控活动机返奖励
|
|
doJk30(db, pos, merchant, GetUserId, ParentNav, TopUserId);
|
|
doJk30(db, pos, merchant, GetUserId, ParentNav, TopUserId);
|
|
}
|
|
}
|
|
}
|
|
}
|