diff --git a/Admin.NET/Admin.NET.Application/Startup.cs b/Admin.NET/Admin.NET.Application/Startup.cs
index 4847c13a..badf12aa 100644
--- a/Admin.NET/Admin.NET.Application/Startup.cs
+++ b/Admin.NET/Admin.NET.Application/Startup.cs
@@ -44,12 +44,12 @@ public class Startup : AppStartup
///
/// 构建 WebApplication 对象过程中装载中间件
///
- ///
+ /// WebApplication对象
///
///
- public void LoadAppComponent(IApplicationBuilder app, IWebHostEnvironment env, ComponentContext componentContext)
+ public void LoadAppComponent(object application, IWebHostEnvironment env, ComponentContext componentContext)
{
- WebApplication application = app as WebApplication;
+ WebApplication webApplication = application as WebApplication;
}
}