|
@@ -190,11 +190,10 @@ namespace MySystem
|
|
});
|
|
});
|
|
}
|
|
}
|
|
decimal CheckMoney = 1000;
|
|
decimal CheckMoney = 1000;
|
|
- int CheckDays = 20;
|
|
|
|
|
|
+ int CheckDays = 30;
|
|
if (pos.BrandId == 6)
|
|
if (pos.BrandId == 6)
|
|
{
|
|
{
|
|
CheckMoney = 5000;
|
|
CheckMoney = 5000;
|
|
- CheckDays = 30;
|
|
|
|
}
|
|
}
|
|
if (BankCardType == 1 || (BankCardType == 2 && pos.BrandId == 1) || (BankCardType == 2 && pos.BrandId == 3))
|
|
if (BankCardType == 1 || (BankCardType == 2 && pos.BrandId == 1) || (BankCardType == 2 && pos.BrandId == 3))
|
|
{
|
|
{
|
|
@@ -216,7 +215,7 @@ namespace MySystem
|
|
pos.IsPurchase = 99;
|
|
pos.IsPurchase = 99;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- else if (pos.CreditTrade >= CheckMoney && pos.ActivationState == 0 && pos.BindingTime > DateTime.Now.AddDays(-CheckDays))
|
|
|
|
|
|
+ else if (pos.CreditTrade >= CheckMoney && pos.ActivationState == 0 && pos.TransferTime < pos.BindingTime && pos.BindingTime > DateTime.Now.AddDays(-CheckDays))
|
|
{
|
|
{
|
|
decimal deposit = decimal.Parse(function.CheckNum(pos.SeoKeyword));
|
|
decimal deposit = decimal.Parse(function.CheckNum(pos.SeoKeyword));
|
|
if (deposit == 0 && pos.IsPurchase != 1)
|
|
if (deposit == 0 && pos.IsPurchase != 1)
|