From 25989539bf40747f0ac199ccc45c0e1debe48023 Mon Sep 17 00:00:00 2001
From: ChenYi <296215406@outlook.com>
Date: Wed, 4 Jun 2025 09:16:07 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BB=A3=E7=A0=81?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../GlobalUsings.cs | 3 +-
.../GlobalUsings.cs | 3 +-
.../GlobalUsings.cs | 3 +-
.../JiShe.CollectBus.Protocol/GlobalUsings.cs | 9 ++
.../DataChannels/DataChannelManageService.cs | 126 +-----------------
.../GlobalUsings.cs | 1 +
.../SubscriberAnalysisAppService.cs | 1 +
.../Models/ServerApplicationOptions.cs | 53 --------
.../CollectBusHostModule.cs | 1 +
web/JiShe.CollectBus.Host/appsettings.json | 5 +-
10 files changed, 22 insertions(+), 183 deletions(-)
create mode 100644 protocols/JiShe.CollectBus.Protocol/GlobalUsings.cs
delete mode 100644 shared/JiShe.CollectBus.Common/Models/ServerApplicationOptions.cs
diff --git a/protocols/JiShe.CollectBus.Protocol.T1882018/GlobalUsings.cs b/protocols/JiShe.CollectBus.Protocol.T1882018/GlobalUsings.cs
index 61e52b6..d1b32ae 100644
--- a/protocols/JiShe.CollectBus.Protocol.T1882018/GlobalUsings.cs
+++ b/protocols/JiShe.CollectBus.Protocol.T1882018/GlobalUsings.cs
@@ -5,4 +5,5 @@ global using Volo.Abp.Modularity;
global using JiShe.ServicePro.Enums;
global using JiShe.ServicePro.FreeRedisProvider;
global using JiShe.ServicePro.Consts;
-global using JiShe.ServicePro.Core;
\ No newline at end of file
+global using JiShe.ServicePro.Core;
+global using JiShe.ServicePro.ServerOptions;
\ No newline at end of file
diff --git a/protocols/JiShe.CollectBus.Protocol.T37612012/GlobalUsings.cs b/protocols/JiShe.CollectBus.Protocol.T37612012/GlobalUsings.cs
index 61e52b6..d1b32ae 100644
--- a/protocols/JiShe.CollectBus.Protocol.T37612012/GlobalUsings.cs
+++ b/protocols/JiShe.CollectBus.Protocol.T37612012/GlobalUsings.cs
@@ -5,4 +5,5 @@ global using Volo.Abp.Modularity;
global using JiShe.ServicePro.Enums;
global using JiShe.ServicePro.FreeRedisProvider;
global using JiShe.ServicePro.Consts;
-global using JiShe.ServicePro.Core;
\ No newline at end of file
+global using JiShe.ServicePro.Core;
+global using JiShe.ServicePro.ServerOptions;
\ No newline at end of file
diff --git a/protocols/JiShe.CollectBus.Protocol.T6452007/GlobalUsings.cs b/protocols/JiShe.CollectBus.Protocol.T6452007/GlobalUsings.cs
index 61e52b6..d1b32ae 100644
--- a/protocols/JiShe.CollectBus.Protocol.T6452007/GlobalUsings.cs
+++ b/protocols/JiShe.CollectBus.Protocol.T6452007/GlobalUsings.cs
@@ -5,4 +5,5 @@ global using Volo.Abp.Modularity;
global using JiShe.ServicePro.Enums;
global using JiShe.ServicePro.FreeRedisProvider;
global using JiShe.ServicePro.Consts;
-global using JiShe.ServicePro.Core;
\ No newline at end of file
+global using JiShe.ServicePro.Core;
+global using JiShe.ServicePro.ServerOptions;
\ No newline at end of file
diff --git a/protocols/JiShe.CollectBus.Protocol/GlobalUsings.cs b/protocols/JiShe.CollectBus.Protocol/GlobalUsings.cs
new file mode 100644
index 0000000..b6f2092
--- /dev/null
+++ b/protocols/JiShe.CollectBus.Protocol/GlobalUsings.cs
@@ -0,0 +1,9 @@
+// Global using directives
+
+global using System.Text;
+global using Volo.Abp.Modularity;
+global using JiShe.ServicePro.Enums;
+global using JiShe.ServicePro.FreeRedisProvider;
+global using JiShe.ServicePro.Consts;
+global using JiShe.ServicePro.Core;
+global using JiShe.ServicePro.ServerOptions;
diff --git a/services/JiShe.CollectBus.Application/DataChannels/DataChannelManageService.cs b/services/JiShe.CollectBus.Application/DataChannels/DataChannelManageService.cs
index 2ac6930..c45c242 100644
--- a/services/JiShe.CollectBus.Application/DataChannels/DataChannelManageService.cs
+++ b/services/JiShe.CollectBus.Application/DataChannels/DataChannelManageService.cs
@@ -182,130 +182,6 @@ namespace JiShe.CollectBus.DataChannels
await Task.Delay(1000 * (retry + 1));
}
}
- }
-
-
-
- /////
- ///// 日志保存
- /////
- /////
- /////
- //public async Task LogSaveAsync(ChannelReader