feat(FEAT-MO-005): 展示市场结构与成交额趋势

This commit is contained in:
2026-08-25 02:33:21 +08:00
parent b95b9e5c92
commit 64a9f2e866
10 changed files with 610 additions and 10 deletions
@@ -1,4 +1,4 @@
import { BadRequestException, Controller, Get, Query } from '@nestjs/common';
import { BadRequestException, Controller, Get, Inject, Query } from '@nestjs/common';
import { ApiOkResponse, ApiQuery, ApiTags } from '@nestjs/swagger';
import {
@@ -16,7 +16,7 @@ import {
@ApiTags('market-overview-structure')
@Controller('market-overview')
export class MarketStructureController {
constructor(private readonly service: MarketStructureService) {}
constructor(@Inject(MarketStructureService) private readonly service: MarketStructureService) {}
@Get('sector-rankings')
@ApiQuery({ name: 'category', required: false, enum: ['industry', 'concept', 'board'] })