浏览代码

wifi激活先推0.01

lcl 2 月之前
父节点
当前提交
bdef276632
共有 1 个文件被更改,包括 4 次插入4 次删除
  1. 4 4
      AppStart/WifiTradeHelper.cs

+ 4 - 4
AppStart/WifiTradeHelper.cs

@@ -174,11 +174,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;
-                // decimal TradeAmt = 0.01M;
+                // if(orderCount > 1) TradeAmt = 0.01M;
+                decimal TradeAmt = 0.01M;
                 
                 edit.DoMonths += 1;
                 edit.LastMonth = Month.Replace("-", "");