Explorar o código

余额支付判断超级权限

lcl %!s(int64=2) %!d(string=hai) anos
pai
achega
fa5bed27f5
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;
                 }