|
@@ -298,16 +298,16 @@ public class ArticlePromotionService {
|
|
|
// }
|
|
|
}
|
|
|
}
|
|
|
- if (CollectionUtils.isNotEmpty(filterUrlList)) {
|
|
|
- String planName = String.format("%d_%s_%s_%s【%s】_%s_%s", filterUrlList.size(), today, accountNickName, pos, way, today, promotionStrategy);
|
|
|
- log.info("url_len: " + list.size() + ", " + filterUrlList.size());
|
|
|
- IdNameVO<String> planInfo = aigcCrawlerPlanSaveService.createArticleUrlPlan(planName, filterUrlList, tag, CrawlerModeEnum.ContentIDs.getVal());
|
|
|
- if (StringUtils.hasText(produceId)) {
|
|
|
- String inputSourceLabel = String.format("原始帖子-长文-微信公众号-内容添加计划-%s", planInfo.getName());
|
|
|
- articleAddDependPlan(produceId, planInfo.getId(), inputSourceLabel, ProducePlanInputSourceTypeEnum.contentPlan.getVal());
|
|
|
- }
|
|
|
- log.info("{}, {}, produce plan not exist: {}, {}, {}", planInfo.getName(), planInfo.getId(), accountNickName, pos, way);
|
|
|
- }
|
|
|
+// if (CollectionUtils.isNotEmpty(filterUrlList)) {
|
|
|
+// String planName = String.format("%d_%s_%s_%s【%s】_%s_%s", filterUrlList.size(), today, accountNickName, pos, way, today, promotionStrategy);
|
|
|
+// log.info("url_len: " + list.size() + ", " + filterUrlList.size());
|
|
|
+// IdNameVO<String> planInfo = aigcCrawlerPlanSaveService.createArticleUrlPlan(planName, filterUrlList, tag, CrawlerModeEnum.ContentIDs.getVal());
|
|
|
+// if (StringUtils.hasText(produceId)) {
|
|
|
+// String inputSourceLabel = String.format("原始帖子-长文-微信公众号-内容添加计划-%s", planInfo.getName());
|
|
|
+// articleAddDependPlan(produceId, planInfo.getId(), inputSourceLabel, ProducePlanInputSourceTypeEnum.contentPlan.getVal());
|
|
|
+// }
|
|
|
+// log.info("{}, {}, produce plan not exist: {}, {}, {}", planInfo.getName(), planInfo.getId(), accountNickName, pos, way);
|
|
|
+// }
|
|
|
if (CollectionUtils.isNotEmpty(publishContentIds)) {
|
|
|
String planName = String.format("%d_%s_%s_%s【%s】_%s_%s", publishContentIds.size(), today, accountNickName, pos, way, today, promotionStrategy);
|
|
|
IdNameVO<String> planInfo = aigcCrawlerPlanSaveService.createArticleUrlPlan(planName, publishContentIds, tag, CrawlerModeEnum.PublishContentIds.getVal());
|
|
@@ -475,7 +475,9 @@ public class ArticlePromotionService {
|
|
|
if (detail == null) {
|
|
|
FeishuMessageSender.sendWebHookMessage(FeishuRobotIdEnum.JOB.getRobotId(),
|
|
|
"文章晋升ERROR:\n" +
|
|
|
- "articleAddDependPlan getProducePlan error: planId:" + produceId);
|
|
|
+ "articleAddDependPlan getProducePlan error: \n" +
|
|
|
+ "planId:" + produceId + "\n" +
|
|
|
+ "inputSourceValue:" + inputSourceValue);
|
|
|
return;
|
|
|
}
|
|
|
// 获取依赖计划 ID 列表
|
|
@@ -504,7 +506,9 @@ public class ArticlePromotionService {
|
|
|
if (detail == null) {
|
|
|
FeishuMessageSender.sendWebHookMessage(FeishuRobotIdEnum.JOB.getRobotId(),
|
|
|
"文章晋升ERROR:\n" +
|
|
|
- "articleAddDependPlan getProducePlan error: planId:" + produceId);
|
|
|
+ "articleAddDependPlan getProducePlan error: \n" +
|
|
|
+ "planId:" + produceId + "\n" +
|
|
|
+ "inputSourceValue:" + inputSourceValue);
|
|
|
return;
|
|
|
}
|
|
|
// 获取依赖计划 ID 列表
|