|
|
@@ -999,7 +999,20 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
{
|
|
|
RewardAmount = 28.5M;
|
|
|
}
|
|
|
- RedisDbconn.Instance.AddList("ActRewardQueue", "{\"PosId\":\"" + PosId + "\",\"UserId\":\"" + UserId + "\",\"RewardAmount\":\"" + RewardAmount + "\",\"ChangeType\":\"0\"}");
|
|
|
+ else if(pos.BrandId == 18 || pos.BrandId == 19 || pos.BrandId == 20 || pos.BrandId == 21)
|
|
|
+ {
|
|
|
+ pos.PrizeParams = pos.SeoKeyword;
|
|
|
+ decimal Deposit = decimal.Parse(function.CheckNum(pos.SeoKeyword));
|
|
|
+ if(Deposit == 198) RewardAmount = 70;
|
|
|
+ if(Deposit == 249) RewardAmount = 100;
|
|
|
+ if(Deposit == 228) RewardAmount = 61;
|
|
|
+ if(Deposit == 380) RewardAmount = 151;
|
|
|
+ if(Deposit == 399) RewardAmount = 100;
|
|
|
+ }
|
|
|
+ if(RewardAmount > 0)
|
|
|
+ {
|
|
|
+ RedisDbconn.Instance.AddList("ActRewardQueue", "{\"PosId\":\"" + PosId + "\",\"UserId\":\"" + UserId + "\",\"RewardAmount\":\"" + RewardAmount + "\",\"ChangeType\":\"0\"}");
|
|
|
+ }
|
|
|
}
|
|
|
if(OpenPrize == 1)
|
|
|
{
|