|
|
@@ -206,6 +206,9 @@ namespace MySystem
|
|
|
{
|
|
|
RedisDbconn.Instance.AddList("OperatePrizeQueue", pos.Id);
|
|
|
}
|
|
|
+
|
|
|
+ //发放奖励MQ
|
|
|
+ PrizeSetHelper.Do("5", pos.PosSn);
|
|
|
}
|
|
|
else
|
|
|
{
|
|
|
@@ -216,6 +219,11 @@ namespace MySystem
|
|
|
db.SaveChanges();
|
|
|
}
|
|
|
}
|
|
|
+ else
|
|
|
+ {
|
|
|
+ //发放奖励MQ
|
|
|
+ PrizeSetHelper.Do("1", pos.PosSn);
|
|
|
+ }
|
|
|
|
|
|
ActivateRecord edit = spdb.ActivateRecord.FirstOrDefault(m => m.Id == act.Id);
|
|
|
if (edit != null)
|
|
|
@@ -226,6 +234,9 @@ namespace MySystem
|
|
|
pos = db.PosMachinesTwo.FirstOrDefault(m => m.PosSn == act.SnNo && m.ActivationState == 1);
|
|
|
if (pos != null)
|
|
|
{
|
|
|
+ //发放奖励MQ
|
|
|
+ PrizeSetHelper.Do("1", pos.PosSn);
|
|
|
+
|
|
|
ActivateRecord edit = spdb.ActivateRecord.FirstOrDefault(m => m.Id == act.Id);
|
|
|
if (edit != null)
|
|
|
{
|