Files
dukang/server/dukang-api/src/modules/common/common.module.ts
T
2026-08-04 21:38:49 +08:00

47 lines
1.9 KiB
TypeScript

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 { DevPlanModule } from '../dev-plan/dev-plan.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), DevPlanModule],
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 {}