Browse Source

Merge branch '20250721-wyp-bugFix' of Server/growth-manager into master

wangyunpeng 9 hours ago
parent
commit
51817aadcd

+ 2 - 1
api-module/src/main/java/com/tzld/piaoquan/api/service/contentplatform/impl/ContentPlatformPlanServiceImpl.java

@@ -167,7 +167,8 @@ public class ContentPlatformPlanServiceImpl implements ContentPlatformPlanServic
                     videoItemVO.setCustomCoverType(video.getCustomCoverType());
                     videoItemVO.setVideo(video.getVideo());
                     videoItemVO.setPageUrl(video.getPageUrl());
-                    if (Objects.nonNull(bucketDataMapByGhId)) {
+                    if (Objects.nonNull(bucketDataMapByGhId) && bucketDataMapByGhId.containsKey(video.getVideoId())
+                            && planItemVO.getType().equals(ContentPlatformGzhPlanTypeEnum.AUTO_REPLY.getVal())) {
                         CgiReplyBucketData bucketData = bucketDataMapByGhId.get(video.getVideoId());
                         if (Objects.nonNull(bucketData)) {
                             videoItemVO.setPageUrl(bucketData.getMiniPagePath());