server/src/monitor/log/log.module.ts

14 lines
414 B
TypeScript

import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { LoginLog } from './entities/loginLog.entity';
import { LogController } from './log.controller';
import { LogService } from './log.service';
@Module({
imports: [TypeOrmModule.forFeature([LoginLog])],
controllers: [LogController],
providers: [LogService],
exports: [LogService],
})
export class LogModule {}