Преглед изворни кода

余额支付判断超级权限

lcl пре 8 месеци
родитељ
комит
fa5bed27f5
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      AppStart/Helper/BalancePayBackService.cs

+ 1 - 1
AppStart/Helper/BalancePayBackService.cs

@@ -54,7 +54,7 @@ namespace MySystem
             if (order != null)
             {
                 decimal TotalPrice = order.TotalPrice;
-                if (order.UserId == 1)
+                if (RedisDbconn.Instance.GetList<int>("MallPrizeToOne").Contains(order.UserId))
                 {
                     TotalPrice = 0.01M;
                 }