Files
core/src/modules/post/post.module.ts
2022-03-16 11:03:20 +08:00

13 lines
384 B
TypeScript

import { Module, forwardRef } from '@nestjs/common'
import { CategoryModule } from '../category/category.module'
import { PostController } from './post.controller'
import { PostService } from './post.service'
@Module({
imports: [forwardRef(() => CategoryModule)],
controllers: [PostController],
providers: [PostService],
exports: [PostService],
})
export class PostModule {}