DuGuYang 2 years ago
parent
commit
9154115e48
1 changed files with 22 additions and 22 deletions
  1. 22 22
      Startup.cs

+ 22 - 22
Startup.cs

@@ -139,30 +139,30 @@ namespace MySystem
             initSpServer();
             initOperateServer();
 
-            if (Env == "Develop")
-            {
-                SIMPosMerchantTradeService.Instance.Start(); //导入广电卡数据
-                // GetRadioCardInfoService.Instance.Start(); //获取行销宝信息
-            }
-            if (Env == "Production")
-            {
-                ResetUserTradeService.Instance.Start();
-                ResetMerchantTradeService.Instance.Start();
-                SycnProfitServiceV3.Instance.Start();
-                SycnHelpProfitService.Instance.Start();
-                ExcelHelper.Instance.Start();
-                OpExcelHelper.Instance.Start();
-                SIMPosMerchantTradeService.Instance.Start(); //导入广电卡数据
-                GetRadioCardInfoService.Instance.Start(); //获取行销宝信息
-                SycnUserMachineCountHelper.Instance.Start(); //重置创客机具数量
-                SIMActCountService.Instance.Start(); //统计注销欠费卡张数
+            // if (Env == "Develop")
+            // {
+            //     SIMPosMerchantTradeService.Instance.Start(); //导入广电卡数据
+            //     // GetRadioCardInfoService.Instance.Start(); //获取行销宝信息
+            // }
+            // if (Env == "Production")
+            // {
+            ResetUserTradeService.Instance.Start();
+            ResetMerchantTradeService.Instance.Start();
+            SycnProfitServiceV3.Instance.Start();
+            SycnHelpProfitService.Instance.Start();
+            ExcelHelper.Instance.Start();
+            OpExcelHelper.Instance.Start();
+            SIMPosMerchantTradeService.Instance.Start(); //导入广电卡数据
+            GetRadioCardInfoService.Instance.Start(); //获取行销宝信息
+            SycnUserMachineCountHelper.Instance.Start(); //重置创客机具数量
+            SIMActCountService.Instance.Start(); //统计注销欠费卡张数
 
-                TestHelper.Instance.Start(); //生成兑换券
+            TestHelper.Instance.Start(); //生成兑换券
 
-                BatchEditUserAmountService.Instance.Start(); //创客信息相关数据导入
-                StoreHouseWithdrawalResultsService.Instance.Start(); //分仓临额提现结果导入
-                PreWithdrawalResultsService.Instance.Start(); //小分仓临额提现结果导入
-            }
+            BatchEditUserAmountService.Instance.Start(); //创客信息相关数据导入
+            StoreHouseWithdrawalResultsService.Instance.Start(); //分仓临额提现结果导入
+            PreWithdrawalResultsService.Instance.Start(); //小分仓临额提现结果导入
+            // }
         }