瀏覽代碼

wifi首笔推送交易统一0.01

lcl 3 月之前
父節點
當前提交
551ee8d7ef
共有 1 個文件被更改,包括 4 次插入3 次删除
  1. 4 3
      AppStart/WifiTradeHelper.cs

+ 4 - 3
AppStart/WifiTradeHelper.cs

@@ -173,10 +173,11 @@ public class WifiTradeHelper
             }
             }
             if(edit.LastMonth != Month.Replace("-", ""))
             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.DoMonths += 1;
                 edit.LastMonth = Month.Replace("-", "");
                 edit.LastMonth = Month.Replace("-", "");