|
@@ -46,6 +46,7 @@ namespace MySystem
|
|
PxcModels.PosMachinesTwo pos = db.PosMachinesTwo.FirstOrDefault(m => m.Id == posFor.SnId);
|
|
PxcModels.PosMachinesTwo pos = db.PosMachinesTwo.FirstOrDefault(m => m.Id == posFor.SnId);
|
|
if (pos != null)
|
|
if (pos != null)
|
|
{
|
|
{
|
|
|
|
+ if(string.IsNullOrEmpty(pos.SeoKeyword)) Utils.Instance.SendActData(pos);
|
|
pos.SeoKeyword = trade.TradeAmount.ToString("f2");
|
|
pos.SeoKeyword = trade.TradeAmount.ToString("f2");
|
|
db.SaveChanges();
|
|
db.SaveChanges();
|
|
isDeposit = true;
|
|
isDeposit = true;
|
|
@@ -77,6 +78,7 @@ namespace MySystem
|
|
PxcModels.PosMachinesTwo pos = db.PosMachinesTwo.FirstOrDefault(m => m.Id == posFor.SnId);
|
|
PxcModels.PosMachinesTwo pos = db.PosMachinesTwo.FirstOrDefault(m => m.Id == posFor.SnId);
|
|
if (pos != null)
|
|
if (pos != null)
|
|
{
|
|
{
|
|
|
|
+ if(string.IsNullOrEmpty(pos.SeoKeyword)) Utils.Instance.SendActData(pos);
|
|
pos.SeoKeyword = trade.TradeAmount.ToString("f2");
|
|
pos.SeoKeyword = trade.TradeAmount.ToString("f2");
|
|
db.SaveChanges();
|
|
db.SaveChanges();
|
|
isDeposit = true;
|
|
isDeposit = true;
|
|
@@ -98,6 +100,7 @@ namespace MySystem
|
|
PxcModels.PosMachinesTwo pos = db.PosMachinesTwo.FirstOrDefault(m => m.Id == posFor.SnId);
|
|
PxcModels.PosMachinesTwo pos = db.PosMachinesTwo.FirstOrDefault(m => m.Id == posFor.SnId);
|
|
if (pos != null)
|
|
if (pos != null)
|
|
{
|
|
{
|
|
|
|
+ if(string.IsNullOrEmpty(pos.SeoKeyword)) Utils.Instance.SendActData(pos);
|
|
pos.SeoKeyword = trade.TradeAmount.ToString("f2");
|
|
pos.SeoKeyword = trade.TradeAmount.ToString("f2");
|
|
PxcModels.PosMerchantInfo merchant = db.PosMerchantInfo.FirstOrDefault(m => m.Id == pos.BindMerchantId) ?? new PxcModels.PosMerchantInfo();
|
|
PxcModels.PosMerchantInfo merchant = db.PosMerchantInfo.FirstOrDefault(m => m.Id == pos.BindMerchantId) ?? new PxcModels.PosMerchantInfo();
|
|
db.MerchantDepositRecord.Add(new PxcModels.MerchantDepositRecord()
|
|
db.MerchantDepositRecord.Add(new PxcModels.MerchantDepositRecord()
|
|
@@ -130,6 +133,7 @@ namespace MySystem
|
|
PxcModels.PosMachinesTwo pos = db.PosMachinesTwo.FirstOrDefault(m => m.Id == posFor.SnId);
|
|
PxcModels.PosMachinesTwo pos = db.PosMachinesTwo.FirstOrDefault(m => m.Id == posFor.SnId);
|
|
if (pos != null)
|
|
if (pos != null)
|
|
{
|
|
{
|
|
|
|
+ if(string.IsNullOrEmpty(pos.SeoKeyword)) Utils.Instance.SendActData(pos);
|
|
pos.SeoKeyword = trade.TradeAmount.ToString("f2");
|
|
pos.SeoKeyword = trade.TradeAmount.ToString("f2");
|
|
PxcModels.PosMerchantInfo merchant = db.PosMerchantInfo.FirstOrDefault(m => m.Id == pos.BindMerchantId) ?? new PxcModels.PosMerchantInfo();
|
|
PxcModels.PosMerchantInfo merchant = db.PosMerchantInfo.FirstOrDefault(m => m.Id == pos.BindMerchantId) ?? new PxcModels.PosMerchantInfo();
|
|
db.MerchantDepositRecord.Add(new PxcModels.MerchantDepositRecord()
|
|
db.MerchantDepositRecord.Add(new PxcModels.MerchantDepositRecord()
|
|
@@ -914,7 +918,7 @@ namespace MySystem
|
|
RedisDbconn.Instance.AddList("PosWithholdQueue", "{\"UserId\":\"" + pos.BuyUserId + "\",\"SnNo\":\"" + pos.PosSn + "\"}");
|
|
RedisDbconn.Instance.AddList("PosWithholdQueue", "{\"UserId\":\"" + pos.BuyUserId + "\",\"SnNo\":\"" + pos.PosSn + "\"}");
|
|
|
|
|
|
//推送激活数据
|
|
//推送激活数据
|
|
- Utils.Instance.SendActData(pos);
|
|
|
|
|
|
+ if(Deposit == 0) Utils.Instance.SendActData(pos);
|
|
}
|
|
}
|
|
Utils.Instance.PrizeRecord(1, pos.PosSn, "条件:已激活;当前状态:" + pos.ActivationState);
|
|
Utils.Instance.PrizeRecord(1, pos.PosSn, "条件:已激活;当前状态:" + pos.ActivationState);
|
|
Utils.Instance.PrizeRecord(1, pos.PosSn, "条件:绑定后台30天到60天之间;绑定时间:" + pos.BindingTime.Value.ToString() + "");
|
|
Utils.Instance.PrizeRecord(1, pos.PosSn, "条件:绑定后台30天到60天之间;绑定时间:" + pos.BindingTime.Value.ToString() + "");
|