feat(FEAT-MO-001): 增加市场概览分模块接口

This commit is contained in:
2026-08-18 13:31:24 +08:00
parent c2fa929936
commit 15a25002ce
12 changed files with 834 additions and 1 deletions
+5 -1
View File
@@ -8,17 +8,21 @@ import path from 'node:path';
import { format } from 'prettier';
import { HealthController } from '../apps/api/src/health.controller';
import { MarketOverviewController } from '../apps/api/src/market-overview/market-overview.controller';
import {
HealthService,
MYSQL_HEALTH_PORT,
REDIS_HEALTH_PORT,
} from '../apps/api/src/health.service';
import { MarketOverviewService, TDX_CLIENT_PORT } from '../apps/api/src/market-overview/market-overview.service';
import { DisabledHealthClient } from '../libs/infrastructure/src/disabled-health.client';
@Module({
controllers: [HealthController],
controllers: [HealthController, MarketOverviewController],
providers: [
HealthService,
MarketOverviewService,
{ provide: TDX_CLIENT_PORT, useValue: { request: async () => ({}) } },
{ provide: REDIS_HEALTH_PORT, useValue: new DisabledHealthClient('文档生成不连接 Redis') },
{ provide: MYSQL_HEALTH_PORT, useValue: new DisabledHealthClient('文档生成不连接 MySQL') },
],