标准化博客评论命名

This commit is contained in:
2025-06-19 16:06:09 +08:00
parent bb9fa3bcaa
commit 1bd717f84f
4 changed files with 3 additions and 3 deletions

View File

@@ -3,7 +3,7 @@ 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';
import { BlogComment } from './entity/BlogComment.entity';
import { AuthModule } from 'src/auth/auth.module';
import { UserModule } from 'src/user/user.module';

View File

@@ -2,7 +2,7 @@ import { Injectable } from '@nestjs/common';
import { InjectRepository } from '@nestjs/typeorm';
import { Blog } from './entity/Blog.entity';
import { Repository } from 'typeorm';
import { BlogComment } from './entity/BlogComment';
import { BlogComment } from './entity/BlogComment.entity';
@Injectable()
export class BlogService {

View File

@@ -7,7 +7,7 @@ import {
PrimaryGeneratedColumn,
UpdateDateColumn,
} from 'typeorm';
import { BlogComment } from './BlogComment';
import { BlogComment } from './BlogComment.entity';
@Entity()
export class Blog {