|
@@ -421,6 +421,23 @@ namespace MySystem
|
|
if(checkpos != null)
|
|
if(checkpos != null)
|
|
{
|
|
{
|
|
doActiveReward(db, merchant, pos, GetUserId, ParentNav, TopUserId, 50);
|
|
doActiveReward(db, merchant, pos, GetUserId, ParentNav, TopUserId, 50);
|
|
|
|
+ PosMachinesTwo edit = db.PosMachinesTwo.FirstOrDefault(m => m.Id == pos.Id);
|
|
|
|
+ if(edit != null)
|
|
|
|
+ {
|
|
|
|
+ edit.SeoKeyword = checkpos.SeoKeyword;
|
|
|
|
+ edit.UpFeeFlag = checkpos.UpFeeFlag;
|
|
|
|
+ edit.DownFeeFlag = checkpos.DownFeeFlag;
|
|
|
|
+ edit.UpFeeDate = checkpos.UpFeeDate;
|
|
|
|
+ edit.DownFeeDate = checkpos.DownFeeDate;
|
|
|
|
+ edit.BindingTime = checkpos.BindingTime;
|
|
|
|
+ edit.IsFirst = checkpos.IsFirst;
|
|
|
|
+ db.SaveChanges();
|
|
|
|
+ if(edit.UpFeeFlag == 1 && edit.DownFeeFlag == 0)
|
|
|
|
+ {
|
|
|
|
+ string info = "{\"RecordId\":\"\",\"PosId\":\"" + edit.Id + "\",\"Fee\": \"0.63\",\"Kind\": \"1\",\"OpMan\": \"系统\"}";
|
|
|
|
+ RedisDbconn.Instance.AddList("SetDepositPostQueue", info);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|