添加博客模块
This commit is contained in:
12
tone-page-server/src/blog/blog.module.ts
Normal file
12
tone-page-server/src/blog/blog.module.ts
Normal 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 { }
|
||||
Reference in New Issue
Block a user