feat(wordcloud): GET /api/wordcloud/jobs/:id/result 端点

This commit is contained in:
2026-08-13 01:40:14 +08:00
parent 3f7ce2cdcd
commit 6552b15d2e
2 changed files with 19 additions and 0 deletions
+7
View File
@@ -49,4 +49,11 @@ export class WordCloudController {
async job(@CurrentUser() user: JwtPayload, @Param('id') id: string) {
return this.wordCloudService.getUserJob(user.sub, id);
}
/** 取词云任务结果(仅本人;产物已转存 COS) */
@Get('jobs/:id/result')
@ApiOperation({ summary: '词云任务结果(仅本人)' })
async result(@CurrentUser() user: JwtPayload, @Param('id') id: string) {
return this.wordCloudService.getUserJobResult(user.sub, id);
}
}