lcl 2 жил өмнө
parent
commit
0f2f6efacb

+ 2 - 2
AppStart/Helper/AlipayPayBack2Service.cs

@@ -567,7 +567,7 @@ namespace MySystem
                                     if(puser.LeaderLevel > 0)
                                     if(puser.LeaderLevel > 0)
                                     {
                                     {
                                         UserAccount acccount = db.UserAccount.FirstOrDefault(m => m.Id == puser.Id) ?? new UserAccount();
                                         UserAccount acccount = db.UserAccount.FirstOrDefault(m => m.Id == puser.Id) ?? new UserAccount();
-                                        if(acccount.LeaderReserve >= order.TotalPrice && !buyPrize)
+                                        if(acccount.LeaderReserve >= 400 * pro.ProductCount && !buyPrize)
                                         {
                                         {
                                             //购机奖励
                                             //购机奖励
                                             OpAccount(db, order, puser.Id, 100, pro.ProductCount);
                                             OpAccount(db, order, puser.Id, 100, pro.ProductCount);
@@ -583,7 +583,7 @@ namespace MySystem
                                             OncePrizeFlag4 = false;
                                             OncePrizeFlag4 = false;
                                         }
                                         }
                                         //如果是大盟主,则标记大盟主标签
                                         //如果是大盟主,则标记大盟主标签
-                                        if(couponIds.Count > 0 && puser.LeaderLevel == 2 && acccount.LeaderReserve >= order.TotalPrice && !bigLeaderPrize)
+                                        if(couponIds.Count > 0 && puser.LeaderLevel == 2 && acccount.LeaderReserve >= 400 * pro.ProductCount && !bigLeaderPrize)
                                         {
                                         {
                                             foreach(int couponId in couponIds)
                                             foreach(int couponId in couponIds)
                                             {
                                             {

+ 1 - 0
AppStart/Helper/SycnSpServer/SycnSpTradeService.cs

@@ -205,6 +205,7 @@ namespace MySystem
                                             if(merchant != null)
                                             if(merchant != null)
                                             {
                                             {
                                                 bool flag = false;
                                                 bool flag = false;
+                                                if(function.CheckNull(merchant.MerchantName).Contains("*")) merchant.MerchantName = trade.MerName;
                                                 if(string.IsNullOrEmpty(merchant.MerIdcardNo) && !string.IsNullOrEmpty(trade.Field2))
                                                 if(string.IsNullOrEmpty(merchant.MerIdcardNo) && !string.IsNullOrEmpty(trade.Field2))
                                                 {
                                                 {
                                                     merchant.MerIdcardNo = trade.Field2.ToUpper(); //商户身份证号
                                                     merchant.MerIdcardNo = trade.Field2.ToUpper(); //商户身份证号