|
@@ -64,7 +64,10 @@ export class CarousalController {
|
|
|
@Get('active-list')
|
|
@Get('active-list')
|
|
|
@ApiBearerAuth()
|
|
@ApiBearerAuth()
|
|
|
@ApiOkResponse({
|
|
@ApiOkResponse({
|
|
|
- type: Array<CarousalVo>,
|
|
|
|
|
|
|
+ schema: {
|
|
|
|
|
+ type: 'array',
|
|
|
|
|
+ items: { $ref: getSchemaPath(CarousalVo) },
|
|
|
|
|
+ },
|
|
|
})
|
|
})
|
|
|
async activeList() {
|
|
async activeList() {
|
|
|
return CarousalMapper.toVos(await this.carousalService.activeList());
|
|
return CarousalMapper.toVos(await this.carousalService.activeList());
|