Pārlūkot izejas kodu

wifi首笔推送交易统一0.01

lcl 3 mēneši atpakaļ
vecāks
revīzija
551ee8d7ef
1 mainītis faili ar 4 papildinājumiem un 3 dzēšanām
  1. 4 3
      AppStart/WifiTradeHelper.cs

+ 4 - 3
AppStart/WifiTradeHelper.cs

@@ -173,10 +173,11 @@ public class WifiTradeHelper
             }
             if(edit.LastMonth != Month.Replace("-", ""))
             {
-                decimal TradeAmt = edit.TradeAmount / edit.Duration;
-                TradeAmt = PublicFunction.NumberFormat(TradeAmt);
+                // decimal TradeAmt = edit.TradeAmount / edit.Duration;
+                // TradeAmt = PublicFunction.NumberFormat(TradeAmt);
 
-                if(orderCount > 1) TradeAmt = 0.01M;
+                // if(orderCount > 1) TradeAmt = 0.01M;
+                decimal TradeAmt = 0.01M;
                 
                 edit.DoMonths += 1;
                 edit.LastMonth = Month.Replace("-", "");