From 7ec17b93b34a060233e5f193fa47fa243f7efafc Mon Sep 17 00:00:00 2001
From: zxl <763096477@qq.com>
Date: 星期四, 28 八月 2025 01:07:52 +0800
Subject: [PATCH] 导出以及页面

---
 framework/src/main/java/cn/lili/modules/lmk/service/impl/PrizeServiceImpl.java |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/framework/src/main/java/cn/lili/modules/lmk/service/impl/PrizeServiceImpl.java b/framework/src/main/java/cn/lili/modules/lmk/service/impl/PrizeServiceImpl.java
index bc0fc1f..c0359cf 100644
--- a/framework/src/main/java/cn/lili/modules/lmk/service/impl/PrizeServiceImpl.java
+++ b/framework/src/main/java/cn/lili/modules/lmk/service/impl/PrizeServiceImpl.java
@@ -420,6 +420,10 @@
             return Result.ok().data(0);
         }
         PrizeDetailVO data = prizeActivityService.prizeInfo(prizeActivityId);
+        String activityCover = data.getActivityCover();
+        if (StringUtils.isNotBlank(activityCover)&&!activityCover.contains("http")) {
+            data.setActivityCover(cosUtil.getPreviewUrl(activityCover));
+        }
         data.getPrizeInfoVOS().forEach(info -> {
             String prizeImg = info.getPrizeImg();
             String prizeCover = info.getPrizeCover();

--
Gitblit v1.8.0