|
@@ -159,15 +159,15 @@ public class ArticlePromotionService {
|
|
|
log.info("url_list empty: " + accountNickName + ", " + pos + ", " + way);
|
|
|
return;
|
|
|
}
|
|
|
- int urlLen = filterUrlList.size();
|
|
|
- String planName = String.format("%d_%s_%s_%s【%s】_%s", urlLen, today, accountNickName, pos, way, today);
|
|
|
- log.info("url_len: " + list.size() + ", " + urlLen);
|
|
|
+ String planName = String.format("%d_%s_%s_%s【%s】_%s", filterUrlList.size(), today, accountNickName, pos, way, today);
|
|
|
+ log.info("url_len: " + list.size() + ", " + filterUrlList.size());
|
|
|
IdNameVO<String> planInfo = aigcCrawlerPlanSaveService.createArticleUrlPlan(planName, filterUrlList, tag, CrawlerModeEnum.ContentIDs.getVal());
|
|
|
if (StringUtils.hasText(produceId)) {
|
|
|
articleAddDependPlan(produceId, planInfo.getId(), planInfo.getName());
|
|
|
}
|
|
|
log.info("{}, {}, produce plan not exist: {}, {}, {}", planInfo.getName(), planInfo.getId(), accountNickName, pos, way);
|
|
|
if (CollectionUtils.isNotEmpty(publishContentIds)) {
|
|
|
+ planName = String.format("%d_%s_%s_%s【%s】_%s", publishContentIds.size(), today, accountNickName, pos, way, today);
|
|
|
planInfo = aigcCrawlerPlanSaveService.createArticleUrlPlan(planName, publishContentIds, tag, CrawlerModeEnum.PublishContentIds.getVal());
|
|
|
if (StringUtils.hasText(produceId)) {
|
|
|
articleAddDependPlan(produceId, planInfo.getId(), planInfo.getName());
|