|
@@ -19,6 +19,7 @@ import com.tzld.piaoquan.longarticle.model.vo.*;
|
|
|
import com.tzld.piaoquan.longarticle.service.local.ContentService;
|
|
|
import com.tzld.piaoquan.longarticle.service.local.KimiService;
|
|
|
import com.tzld.piaoquan.longarticle.service.remote.AigcService;
|
|
|
+import com.tzld.piaoquan.longarticle.service.remote.MatchService;
|
|
|
import com.tzld.piaoquan.longarticle.service.remote.SortService;
|
|
|
import com.tzld.piaoquan.longarticle.service.remote.VideoService;
|
|
|
import com.tzld.piaoquan.longarticle.utils.DateUtil;
|
|
@@ -95,6 +96,9 @@ public class ContentServiceImpl implements ContentService {
|
|
|
@Autowired
|
|
|
private ContentPlatformVideoMapper contentPlatformVideoMapper;
|
|
|
|
|
|
+ @Autowired
|
|
|
+ private MatchService matchService;
|
|
|
+
|
|
|
public void addMatchContent(MatchVideo matchVideo, String publishContentId) {
|
|
|
PublishMatchContent publishMatchContent = new PublishMatchContent();
|
|
|
publishMatchContent.setTraceId(matchVideo.getTraceId());
|
|
@@ -269,6 +273,7 @@ public class ContentServiceImpl implements ContentService {
|
|
|
statusParam.setErrorMsg("小程序为空");
|
|
|
aigcService.updateMatchMiniprogramStatus(statusParam);
|
|
|
log.info("文章获取小程序为空 matchVideo={} planAccount={}", matchVideo, planAccount);
|
|
|
+ matchService.notHasMiniVideos(publishContent.getSourceId());
|
|
|
return new ArrayList<>();
|
|
|
}
|
|
|
List<VideoDetail> videoDetails = publishVideo(contentMiniVideos, matchVideo, publishContent);
|