From 5e36054ee9c5ce5d2b14df66290090903d7c9e6a Mon Sep 17 00:00:00 2001
From: hang <872297557@qq.com>
Date: Thu, 3 Apr 2025 14:17:24 +0800
Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4logdashboard=20=E5=8D=87?=
=?UTF-8?q?=E7=BA=A7=E4=B8=8Bfo-dicom=20=E5=B8=B8=E8=A7=81=E5=8C=85?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
IRC.Core.SCP/IRC.Core.SCP.csproj | 6 +--
IRaCIS.Core.API/Progranm.cs | 2 +-
.../_ServiceExtensions/LogDashboardSetup.cs | 38 +++++++++----------
.../IRaCIS.Core.Infra.EFCore.csproj | 4 +-
.../IRaCIS.Core.Infrastructure.csproj | 2 +-
5 files changed, 26 insertions(+), 26 deletions(-)
diff --git a/IRC.Core.SCP/IRC.Core.SCP.csproj b/IRC.Core.SCP/IRC.Core.SCP.csproj
index 768c65fef..311016000 100644
--- a/IRC.Core.SCP/IRC.Core.SCP.csproj
+++ b/IRC.Core.SCP/IRC.Core.SCP.csproj
@@ -14,9 +14,9 @@
-
-
-
+
+
+
diff --git a/IRaCIS.Core.API/Progranm.cs b/IRaCIS.Core.API/Progranm.cs
index cf2b4de2e..ae03f93a3 100644
--- a/IRaCIS.Core.API/Progranm.cs
+++ b/IRaCIS.Core.API/Progranm.cs
@@ -135,7 +135,7 @@ builder.Services.AddFusionCache();
builder.Services.AddhangfireSetup(_configuration);
//Serilog 日志可视化 LogDashboard日志
-builder.Services.AddLogDashboardSetup();
+//builder.Services.AddLogDashboardSetup();
//Dicom影像渲染图片 跨平台
builder.Services.AddDicomSetup();
diff --git a/IRaCIS.Core.API/_ServiceExtensions/LogDashboardSetup.cs b/IRaCIS.Core.API/_ServiceExtensions/LogDashboardSetup.cs
index 208d0672b..3a4912ea8 100644
--- a/IRaCIS.Core.API/_ServiceExtensions/LogDashboardSetup.cs
+++ b/IRaCIS.Core.API/_ServiceExtensions/LogDashboardSetup.cs
@@ -1,25 +1,25 @@
-using LogDashboard;
-using Microsoft.Extensions.DependencyInjection;
+//using LogDashboard;
+//using Microsoft.Extensions.DependencyInjection;
-namespace IRaCIS.Core.API
-{
- public static class LogDashboardSetup
- {
- public static void AddLogDashboardSetup(this IServiceCollection services)
- {
- //IIS 配置虚拟路径部署,会出现IIS静态文件404
- services.AddLogDashboard(opt =>
- {
- //opt.PathMatch = "/api/LogDashboard";
- opt.PathMatch = "/LogDashboard";
+//namespace IRaCIS.Core.API
+//{
+// public static class LogDashboardSetup
+// {
+// public static void AddLogDashboardSetup(this IServiceCollection services)
+// {
+// //IIS 配置虚拟路径部署,会出现IIS静态文件404
+// services.AddLogDashboard(opt =>
+// {
+// //opt.PathMatch = "/api/LogDashboard";
+// opt.PathMatch = "/LogDashboard";
- //opt.AddAuthorizationFilter(new LogDashboardBasicAuthFilter("admin", "zhizhun2018"));
+// //opt.AddAuthorizationFilter(new LogDashboardBasicAuthFilter("admin", "zhizhun2018"));
- //opt.AddAuthorizationFilter(new LogDashBoardAuthFilter());
+// //opt.AddAuthorizationFilter(new LogDashBoardAuthFilter());
- });
+// });
- }
- }
-}
+// }
+// }
+//}
diff --git a/IRaCIS.Core.Infra.EFCore/IRaCIS.Core.Infra.EFCore.csproj b/IRaCIS.Core.Infra.EFCore/IRaCIS.Core.Infra.EFCore.csproj
index 383747676..9800d62b0 100644
--- a/IRaCIS.Core.Infra.EFCore/IRaCIS.Core.Infra.EFCore.csproj
+++ b/IRaCIS.Core.Infra.EFCore/IRaCIS.Core.Infra.EFCore.csproj
@@ -21,7 +21,7 @@
-
+
@@ -30,7 +30,7 @@
-
+
all
runtime; build; native; contentfiles; analyzers; buildtransitive
diff --git a/IRaCIS.Core.Infrastructure/IRaCIS.Core.Infrastructure.csproj b/IRaCIS.Core.Infrastructure/IRaCIS.Core.Infrastructure.csproj
index cac011aba..4e4acb358 100644
--- a/IRaCIS.Core.Infrastructure/IRaCIS.Core.Infrastructure.csproj
+++ b/IRaCIS.Core.Infrastructure/IRaCIS.Core.Infrastructure.csproj
@@ -18,7 +18,7 @@
-
+