瀏覽代碼

余额支付判断超级权限

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;
                 }