From 803a61d1d89e75f0b5d72785069b3dceb579f3ca Mon Sep 17 00:00:00 2001 From: peng <peng.com> Date: 星期三, 27 八月 2025 10:25:58 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/dev' into dev --- 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