فهرست منبع

盟主储备金返现600改为400

lichunlei 2 سال پیش
والد
کامیت
c572d242f9
1فایلهای تغییر یافته به همراه5 افزوده شده و 5 حذف شده
  1. 5 5
      AppStart/Helper/AlipayPayBack2Service.cs

+ 5 - 5
AppStart/Helper/AlipayPayBack2Service.cs

@@ -242,9 +242,9 @@ namespace MySystem
                                         else
                                         {
                                             //扣减备用金
-                                            OpReserve(db, order, order.UserId, order.TotalPrice, 2, 0, "商城购机");
+                                            OpReserve(db, order, order.UserId, 400 * pro.ProductCount, 2, 0, "商城购机");
                                             //返回到余额
-                                            OpLeaderAccount(db, order, order.UserId, order.TotalPrice / pro.ProductCount, pro.ProductCount);
+                                            OpLeaderAccount(db, order, order.UserId, 400, pro.ProductCount);
                                         }
                                     }
                                     //获得100元奖励
@@ -365,9 +365,9 @@ namespace MySystem
                                         if(acccount.LeaderReserve >= order.TotalPrice && leaderFlag == 0)
                                         {
                                             //扣减备用金
-                                            OpReserve(db, order, puser.Id, order.TotalPrice, 2, order.UserId, "购机奖励");
+                                            OpReserve(db, order, puser.Id, 400 * pro.ProductCount, 2, order.UserId, "购机奖励");
                                             //返回到余额
-                                            OpLeaderAccount(db, order, puser.Id, order.TotalPrice / pro.ProductCount, pro.ProductCount);
+                                            OpLeaderAccount(db, order, puser.Id, 400, pro.ProductCount);
                                             leaderFlag = puser.LeaderLevel;
                                         }
                                         //如果是大盟主,则标记大盟主标签
@@ -569,7 +569,7 @@ namespace MySystem
                 db.SaveChanges();
             }
             int ChangeType = 0;
-            if(Money == 600)
+            if(Money == 400)
             {
                 ChangeType = 117;
             }