zxl
10 小时以前 1d418c5dfdc5316244795996ac722d6762b3541a
问题修改
2个文件已修改
6 ■■■■ 已修改文件
framework/src/main/java/cn/lili/modules/lmk/service/impl/PrizeActivityServiceImpl.java 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
framework/src/main/java/cn/lili/modules/lmk/service/impl/VideoServiceImpl.java 5 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
framework/src/main/java/cn/lili/modules/lmk/service/impl/PrizeActivityServiceImpl.java
@@ -49,6 +49,7 @@
        PrizeActivity prizeActivity = new LambdaQueryChainWrapper<>(baseMapper)
                .eq(PrizeActivity::getDeleteFlag,Boolean.FALSE)
                .eq(PrizeActivity::getEnableStatus,PrizeActivityStatusEnum.ON.name())
                .eq(PrizeActivity::getPopup,Boolean.TRUE)
                .one();
        PrizeActivityVO prizeActivityVO = new PrizeActivityVO();
        if (prizeActivity != null){
framework/src/main/java/cn/lili/modules/lmk/service/impl/VideoServiceImpl.java
@@ -1541,7 +1541,10 @@
                    v.setAuthorAvatar(cosUtil.getPreviewUrl(v.getAuthorAvatar()));
                    if (VideoContentTypeEnum.VIDEO.getValue().equals(v.getVideoContentType())) {
                        v.setVideoUrl(cosUtil.getPreviewUrl(v.getVideoFileKey()));
                        v.setCoverUrl(cosUtil.getPreviewUrl(v.getCoverFileKey()));
                        if(StringUtils.isNotBlank(v.getCoverFileKey())){
                            v.setCoverUrl(cosUtil.getPreviewUrl(v.getCoverFileKey()));
                        }
                    } else if (VideoContentTypeEnum.IMG.getValue().equals(v.getVideoContentType()) && StringUtils.isNotBlank(v.getVideoImgs())) {
                        v.setImgs(JSON.parseArray(v.getVideoImgs(), String.class).stream().map(fileKey -> cosUtil.getPreviewUrl(fileKey)).collect(Collectors.toList()));
                    }