feat: add getTaskReview API endpoint for fetching all reports and fragments by task number

This commit is contained in:
2026-05-23 21:01:01 +08:00
parent 375ec8858c
commit f271efbead
5 changed files with 47 additions and 0 deletions
@@ -32,6 +32,14 @@ public class ReviewController {
return CommonResult.success(reviewService.getReviewFeed(limit));
}
/**
* 获取指定任务下的所有报告和残片
*/
@GetMapping("/task/{taskNum}")
public CommonResult<List<ReviewFeedItem>> getTaskReview(@PathVariable String taskNum) {
return CommonResult.success(reviewService.getTaskReview(taskNum));
}
/**
* 获取报告详情
*/