Browse Source

Merge branch 'dev-xym-fix' of Server/long-article-manage into master

xueyiming 1 month ago
parent
commit
0174a6284b

+ 1 - 1
long-article-server/src/main/java/com/tzld/piaoquan/longarticle/service/local/impl/ContentServiceImpl.java

@@ -129,7 +129,7 @@ public class ContentServiceImpl implements ContentService {
         if (!CollectionUtils.isEmpty(matchVideos)) {
             return matchVideos.get(0);
         }
-        MatchVideo newMatchVideo = matchVideos.get(0);
+        MatchVideo newMatchVideo = new MatchVideo();
         newMatchVideo.setTraceId(String.format("search-%s-%s", UUID.randomUUID(), System.currentTimeMillis() / 1000));
         newMatchVideo.setContentId(publishContent.getSourceId());
         newMatchVideo.setFlowPoolLevel(publishContent.getContentPoolType());