标准化博客评论命名
This commit is contained in:
@@ -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';
|
||||
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -7,7 +7,7 @@ import {
|
||||
PrimaryGeneratedColumn,
|
||||
UpdateDateColumn,
|
||||
} from 'typeorm';
|
||||
import { BlogComment } from './BlogComment';
|
||||
import { BlogComment } from './BlogComment.entity';
|
||||
|
||||
@Entity()
|
||||
export class Blog {
|
||||
|
||||
Reference in New Issue
Block a user