luohairen
2024-11-13 12b7bf2629926c8acbd451f48aa815a2fb59fa50
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());
    }