初步完成评论

This commit is contained in:
2025-06-07 03:21:27 +08:00
parent c872b55083
commit 3821ef6657
12 changed files with 208 additions and 4 deletions

View File

@@ -3,9 +3,10 @@ import { BlogController } from './blog.controller';
import { BlogService } from './blog.service';
import { TypeOrmModule } from '@nestjs/typeorm';
import { Blog } from './entity/Blog.entity';
import { BlogComment } from './entity/BlogComment';
@Module({
imports: [TypeOrmModule.forFeature([Blog])],
imports: [TypeOrmModule.forFeature([Blog, BlogComment])],
controllers: [BlogController],
providers: [BlogService],
exports: [BlogService],