import { Module, forwardRef } from '@nestjs/common'; import { IamModule } from '../iam/iam.module'; import { AnalyticsModule } from '../analytics/analytics.module'; import { IntegrationsModule } from '../../integrations/integrations.module'; import { SystemConfigModule } from '../../common/system-config/system-config.module'; import { ResourceService } from './resource.service'; import { EventService } from './event.service'; import { TicketService } from './ticket.service'; import { SupportTicketService } from './support-ticket.service'; import { ThirdPartyLogService } from './third-party-log.service'; import { ResourceController } from './resource.controller'; import { EventController } from './event.controller'; import { TicketController } from './ticket.controller'; import { ThirdPartyLogController } from './third-party-log.controller'; import { WechatController } from './wechat.controller'; import { ClientConfigController } from './client-config.controller'; import { LbsController } from './lbs.controller'; import { WechatLocationService } from './wechat-location.service'; import { ClientErrorService } from './client-error.service'; import { ClientErrorController } from './client-error.controller'; @Module({ imports: [forwardRef(() => IamModule), IntegrationsModule, SystemConfigModule, forwardRef(() => AnalyticsModule)], controllers: [ ResourceController, EventController, TicketController, ThirdPartyLogController, WechatController, ClientConfigController, LbsController, ClientErrorController, ], providers: [ ResourceService, EventService, TicketService, SupportTicketService, ThirdPartyLogService, WechatLocationService, ClientErrorService, ], exports: [ResourceService, EventService, TicketService, SupportTicketService], }) export class CommonModule {}