添加博客模块

This commit is contained in:
2025-05-07 18:33:13 +08:00
parent 3719efb149
commit a6007ac6dd
7 changed files with 121 additions and 2 deletions

View File

@@ -0,0 +1,12 @@
import { Module } from '@nestjs/common';
import { BlogController } from './blog.controller';
import { BlogService } from './blog.service';
import { TypeOrmModule } from '@nestjs/typeorm';
import { Blog } from './entity/Blog.entity';
@Module({
imports: [TypeOrmModule.forFeature([Blog])],
controllers: [BlogController],
providers: [BlogService]
})
export class BlogModule { }