|
|
@@ -105,26 +105,10 @@ export class VideoMediaController {
|
|
|
summary: '更新视频媒体管理信息',
|
|
|
description: '更新视频的标题、分类、标签、上下架状态等管理级别信息',
|
|
|
})
|
|
|
- @ApiParam({
|
|
|
- name: 'id',
|
|
|
- type: String,
|
|
|
- description: '视频媒体 MongoDB ID',
|
|
|
- example: '507f1f77bcf86cd799439011',
|
|
|
- })
|
|
|
@ApiBody({
|
|
|
type: UpdateVideoMediaTagsDto,
|
|
|
description: '更新的管理信息',
|
|
|
})
|
|
|
- @ApiOkResponse({
|
|
|
- description: '更新成功',
|
|
|
- type: VideoMediaDetailDto,
|
|
|
- })
|
|
|
- @ApiNotFoundResponse({
|
|
|
- description: '视频媒体不存在',
|
|
|
- })
|
|
|
- @ApiBadRequestResponse({
|
|
|
- description: '请求参数验证失败',
|
|
|
- })
|
|
|
@Post('update-video-tags')
|
|
|
async updateManage(@Body() dto: UpdateVideoMediaTagsDto) {
|
|
|
return this.videoMediaService.updateVideoTags(dto);
|