forked from wangziqi/gongxue-base
17 lines
589 B
TypeScript
17 lines
589 B
TypeScript
import { Module } from '@nestjs/common';
|
|
import { TypeOrmModule } from '@nestjs/typeorm';
|
|
import { User, Student, StudentDingMapping, Class } from '../entities';
|
|
import { DingTalkService } from './dingtalk.service';
|
|
import { WeComService } from './wecom.service';
|
|
import { IntegrationConfigModule } from './config/config.module';
|
|
|
|
@Module({
|
|
imports: [
|
|
TypeOrmModule.forFeature([User, Student, StudentDingMapping, Class]),
|
|
IntegrationConfigModule,
|
|
],
|
|
providers: [DingTalkService, WeComService],
|
|
exports: [DingTalkService, WeComService],
|
|
})
|
|
export class IntegrationModule {}
|