去掉资源预览路径previewpath
This commit is contained in:
@@ -11,8 +11,7 @@ public record AnnotationResultCompareResponse(
|
||||
@Schema(description = "资源ID", example = "191000000000000101") Long resourceId,
|
||||
|
||||
@Schema(description = "问答对列表") List<QaRecord> qaRecords,
|
||||
@Schema(description = "差异列表") List<DiffRecord> diffRecords,
|
||||
@Schema(description = "资源预览路径", example = "preview/191000000000000101/index.html") String sourcePreviewPath
|
||||
@Schema(description = "差异列表") List<DiffRecord> diffRecords
|
||||
) {
|
||||
|
||||
@Schema(description = "问答记录")
|
||||
|
||||
@@ -238,8 +238,7 @@ public class AnnotationResultService {
|
||||
result.getTaskId(),
|
||||
result.getResourceId(),
|
||||
qaRecords,
|
||||
diffRecords,
|
||||
resource == null ? null : resource.getFilePath()
|
||||
diffRecords
|
||||
);
|
||||
} catch (BusinessException e) {
|
||||
throw e;
|
||||
@@ -523,4 +522,4 @@ public class AnnotationResultService {
|
||||
private record Metadata(String createdAt) {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user