From 113930813e1c27c90775b073142fc30d8d38f7fc Mon Sep 17 00:00:00 2001
From: fuliqi <fuliqi@qq.com>
Date: 星期五, 12 七月 2024 11:34:07 +0800
Subject: [PATCH] 教师配管理端权限、允许提交后继续考试

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