29 lines
1.2 KiB
TypeScript
29 lines
1.2 KiB
TypeScript
/**
|
|
* API 模块
|
|
* [2026-01-04] 更新:新增 SystemAccountReportController 用于系统账户报表
|
|
* [2026-01-07] 更新:导入 RedisModule 用于热钱包余额缓存服务
|
|
* 回滚方式:删除 SystemAccountReportController 的导入和注册;移除 RedisModule 导入
|
|
*/
|
|
import { Module } from '@nestjs/common';
|
|
import { ApplicationModule } from '../application/application.module';
|
|
import { RedisModule } from '../infrastructure/redis/redis.module';
|
|
import { HealthController } from './controllers/health.controller';
|
|
import { ReportController } from './controllers/report.controller';
|
|
import { ExportController } from './controllers/export.controller';
|
|
import { DashboardController } from './controllers/dashboard.controller';
|
|
// [2026-01-04] 新增:系统账户报表控制器
|
|
import { SystemAccountReportController } from './controllers/system-account-report.controller';
|
|
|
|
@Module({
|
|
imports: [ApplicationModule, RedisModule],
|
|
controllers: [
|
|
HealthController,
|
|
ReportController,
|
|
ExportController,
|
|
DashboardController,
|
|
// [2026-01-04] 新增:系统账户报表控制器
|
|
SystemAccountReportController,
|
|
],
|
|
})
|
|
export class ApiModule {}
|