Browse Source

设置服务费和费率用MQ实现

lcl 4 months ago
parent
commit
e1eb832e8b
1 changed files with 2 additions and 14 deletions
  1. 2 14
      Startup.cs

+ 2 - 14
Startup.cs

@@ -142,20 +142,8 @@ namespace MySystem
             // InitMain();
 
             //必须打开的
-            if(Library.ConfigurationManager.EnvironmentFlag == 1)
-            {
-            }
-            if(Library.ConfigurationManager.EnvironmentFlag == 2)
-            {
-                // SetFeeFlagService.Instance.Start(); //85天提前通知创客费率调升消息
-                // SetDepositService.Instance.Start(); //调整费率(通知、标记)
-                // SetDepositPostService.Instance.Start(); //提交支付公司设置费率接口
-                // SetDepositPostService.Instance.StartKdb(); //监控开店宝费率设置结果
-                // ChangePosFeeQueue.Instance.StartEverTime(); //设置服务费
-                // SetSftFeeService.Instance.Start(); //盛付通420天费率加万2
-
-                // TmpService.Instance.Start();
-            }
+            RabbitMQClient.Instance.StartReceive("KXS_DEPOSIT_QUEUE");
+            RabbitMQClient.Instance.StartReceive("KXS_FEE_QUEUE");
         }
 
         private void InitMain()