From b2cf85f51d6970042470071d2ae802d13fd2886e Mon Sep 17 00:00:00 2001 From: imeepos Date: Wed, 3 Sep 2025 18:30:24 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=B7=BB=E5=8A=A0TemplateManager?= =?UTF-8?q?=E5=88=B0=E4=BE=9D=E8=B5=96=E6=B3=A8=E5=85=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在app.module.ts中添加TemplateManager作为provider - 导入TemplateManager类型定义 - 完善模板管理系统的依赖注入配置 --- src/app.module.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/app.module.ts b/src/app.module.ts index 7882561..49fb4c7 100644 --- a/src/app.module.ts +++ b/src/app.module.ts @@ -1,10 +1,11 @@ import { Module } from '@nestjs/common'; import { AppController } from './app.controller'; import { TemplateService } from './templates/index'; +import { TemplateManager } from './templates/types'; @Module({ imports: [], controllers: [AppController], - providers: [TemplateService], + providers: [TemplateService, TemplateManager], }) export class AppModule {}