|
|
@@ -991,7 +991,7 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
}
|
|
|
|
|
|
[HttpPost]
|
|
|
- public string MachinePrizeNewDo(string PosSns, int ActPrize, int OpenPrize, int DepositPrize, int LeaderPrize, int OperterPrize)
|
|
|
+ public string MachinePrizeNewDo(string PosSns, int ActPrize, int OpenPrize, int DepositPrize, int LeaderPrize, int OperterPrize, int HdActPrize)
|
|
|
{
|
|
|
if (string.IsNullOrEmpty(PosSns))
|
|
|
{
|
|
|
@@ -1144,6 +1144,10 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
RedisDbconn.Instance.AddList("ActRewardQueue", "{\"PosId\":\"" + PosId + "\",\"UserId\":\"" + UserId + "\",\"RewardAmount\":\"" + RewardAmount + "\",\"ChangeType\":\"0\"}");
|
|
|
}
|
|
|
}
|
|
|
+ if(HdActPrize == 1)
|
|
|
+ {
|
|
|
+ RedisDbconn.Instance.AddList("HdActRewardQueue", "{\"PosId\":\"" + PosId + "\",\"UserId\":\"" + UserId + "\",\"RewardAmount\":\"100\",\"ChangeType\":\"140\"}");
|
|
|
+ }
|
|
|
if(OpenPrize == 1)
|
|
|
{
|
|
|
RedisDbconn.Instance.AddList("OpenRewardQueue", PosId.ToString());
|