forked from wangziqi/gongxue-base
fix: use saved dingtalk config for integration calls
This commit is contained in:
@@ -3,9 +3,13 @@ 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])],
|
||||
imports: [
|
||||
TypeOrmModule.forFeature([User, Student, StudentDingMapping, Class]),
|
||||
IntegrationConfigModule,
|
||||
],
|
||||
providers: [DingTalkService, WeComService],
|
||||
exports: [DingTalkService, WeComService],
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user