From b7273d6fc94ae5e14f5a911d8b8b88cb7c848264 Mon Sep 17 00:00:00 2001 From: xiangpei <xiangpei@timesnew.cn> Date: 星期三, 30 十月 2024 20:14:10 +0800 Subject: [PATCH] 学员bug --- src/main/java/com/ycl/jxkg/service/impl/EducationResourceServiceImpl.java | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/ycl/jxkg/service/impl/EducationResourceServiceImpl.java b/src/main/java/com/ycl/jxkg/service/impl/EducationResourceServiceImpl.java index c2c484b..5e0059d 100644 --- a/src/main/java/com/ycl/jxkg/service/impl/EducationResourceServiceImpl.java +++ b/src/main/java/com/ycl/jxkg/service/impl/EducationResourceServiceImpl.java @@ -109,6 +109,7 @@ page.getList().stream().forEach(item -> { item.setContentUrl(JSON.parseObject(item.getContentUrlString(), EducationResourceVO.UploadFile.class)); item.setAttachment(JSON.parseArray(item.getAttachmentString(), EducationResourceVO.UploadFile.class)); + item.setVisitUrl(url + "/api/files/" + item.getContentUrl().getUrl()); }); return Result.ok(page.getList()).put("total", page.getTotal()); } -- Gitblit v1.8.0