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