feat: add getTaskReview API endpoint for fetching all reports and fragments by task number
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取报告详情
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user