Browse Source

删除冗余代码

lichunlei 2 năm trước cách đây
mục cha
commit
dc4f0e68a1
1 tập tin đã thay đổi với 0 bổ sung13 xóa
  1. 0 13
      AppStart/Helper/SycnSpServer/SycnSpTradeService.cs

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

@@ -264,21 +264,8 @@ namespace MySystem
                                         {
                                             pos.DebitCardTrade += TradeAmount;
                                         }
-                                        // if (pos.CreditTrade < CheckMoney)
-                                        // {
-                                        //     decimal deposit = decimal.Parse(function.CheckNum(pos.SeoKeyword));
-                                        //     if (deposit > 0 && pos.IsPurchase != 1)
-                                        //     {
-                                        //         pos.IsPurchase = 0;
-                                        //     }
-                                        // }
                                         if (pos.CreditTrade >= CheckMoney && pos.ActivationState == 0 && pos.TransferTime < pos.BindingTime && pos.BindingTime > DateTime.Now.AddDays(-CheckDays))
                                         {
-                                            // decimal deposit = decimal.Parse(function.CheckNum(pos.SeoKeyword));
-                                            // if (deposit == 0 && pos.IsPurchase != 1)
-                                            // {
-                                            //     pos.IsPurchase = 0;
-                                            // }
                                             pos.ActivationState = 1;
                                             pos.ActivationTime = DateTime.Now;
                                             PxcModels.PosMerchantInfo merchant = db.PosMerchantInfo.FirstOrDefault(m => m.Id == pos.BindMerchantId);