去掉资源预览路径previewpath

(cherry picked from commit 642200776d)
This commit is contained in:
wh
2026-05-10 17:10:15 +08:00
parent 84ac2fe5c7
commit 080417f42e
2 changed files with 3 additions and 5 deletions

View File

@@ -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 = "问答记录")

View File

@@ -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;