소스 검색

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

xueyiming 3 달 전
부모
커밋
0174a6284b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      long-article-server/src/main/java/com/tzld/piaoquan/longarticle/service/local/impl/ContentServiceImpl.java

+ 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());