feat(wordcloud): GET /api/wordcloud/jobs/:id/result 端点
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user