This commit is contained in:
chfei committed 2026-09-19 09:51:55 +08:00
1 parent c732ecb1d2
commit 03dd9b8f6b
1 file changed
+1 -1
+1 -1
View File
@@ -8,7 +8,7 @@ public partial class Program
{
var builder = WebApplication.CreateBuilder(args);
// IOC 注册:自动注册 ISingletonDependency / IScopedDependency / ITransientDependency,并执行所有 IStartup / IModule.AddModule
// IOC 注册:自动注册 ISingletonDependency / IScopedDependency / ITransientDependency,并执行所有 IStartup / IModule.AddModule
// 模块服务注册阶段(等价于 builder.Services.AddStoreHub(builder.Configuration, builder.Environment),额外把配置/环境交给模块)
builder.AddStoreHub();
builder.Services.AddFreeSqlDB();