feat(FEAT-MO-005): 展示市场结构与成交额趋势
This commit is contained in:
@@ -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'] })
|
||||
|
||||
Reference in New Issue
Block a user