|
@@ -54,6 +54,7 @@ namespace MySystem
|
|
{
|
|
{
|
|
if(string.IsNullOrEmpty(pos.SeoKeyword) && decimal.Parse(function.CheckNum(act.SeoTitle)) > 0) Utils.Instance.SendActData(pos);
|
|
if(string.IsNullOrEmpty(pos.SeoKeyword) && decimal.Parse(function.CheckNum(act.SeoTitle)) > 0) Utils.Instance.SendActData(pos);
|
|
pos.SeoKeyword = act.SeoTitle;
|
|
pos.SeoKeyword = act.SeoTitle;
|
|
|
|
+ pos.PrizeParams = pos.SeoKeyword;
|
|
if(pos.BrandId == 15 || pos.BrandId == 16) //来客吧
|
|
if(pos.BrandId == 15 || pos.BrandId == 16) //来客吧
|
|
{
|
|
{
|
|
pos.Detail = ""; //清除激活奖励标记
|
|
pos.Detail = ""; //清除激活奖励标记
|
|
@@ -77,6 +78,9 @@ namespace MySystem
|
|
decimal Deposit = decimal.Parse(function.CheckNum(pos.SeoKeyword));
|
|
decimal Deposit = decimal.Parse(function.CheckNum(pos.SeoKeyword));
|
|
DateTime now = DateTime.Now;
|
|
DateTime now = DateTime.Now;
|
|
|
|
|
|
|
|
+ if(Deposit > 1000) Deposit = Deposit / 100;
|
|
|
|
+ pos.PrizeParams = Deposit.ToString("f0");
|
|
|
|
+
|
|
function.WriteLog("大盟主---Deposit:" + Deposit + ";LeaderUserId:" + pos.LeaderUserId + ";pos.IsFirst:" + pos.IsFirst + ";pos.BindingTime:" + pos.BindingTime + ";now.AddDays(-CheckDays):" + now.AddDays(-CheckDays) + ";", "押金推送发放奖励监控");
|
|
function.WriteLog("大盟主---Deposit:" + Deposit + ";LeaderUserId:" + pos.LeaderUserId + ";pos.IsFirst:" + pos.IsFirst + ";pos.BindingTime:" + pos.BindingTime + ";now.AddDays(-CheckDays):" + now.AddDays(-CheckDays) + ";", "押金推送发放奖励监控");
|
|
if (Deposit > 0 && pos.LeaderUserId > 0 && db.Leaders.Any(m => m.Id == pos.LeaderUserId && m.ExpiredDate > now) && pos.BindingTime > now.AddDays(-CheckDays) && pos.CardType < 100)
|
|
if (Deposit > 0 && pos.LeaderUserId > 0 && db.Leaders.Any(m => m.Id == pos.LeaderUserId && m.ExpiredDate > now) && pos.BindingTime > now.AddDays(-CheckDays) && pos.CardType < 100)
|
|
{
|
|
{
|